summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/treesitter.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor/treesitter.fnl')
-rw-r--r--fnl/plugins/editor/treesitter.fnl5
1 files changed, 2 insertions, 3 deletions
diff --git a/fnl/plugins/editor/treesitter.fnl b/fnl/plugins/editor/treesitter.fnl
index b88b4bf..b0d9c60 100644
--- a/fnl/plugins/editor/treesitter.fnl
+++ b/fnl/plugins/editor/treesitter.fnl
@@ -75,7 +75,7 @@
:goto_next {"]i" "@conditional.outer"}
:goto_previous {"[i" "@conditional.outer"}}}})
-(fn setup []
+(fn config []
(let [treesitter (require :nvim-treesitter.configs)]
(treesitter.setup opts)))
@@ -83,5 +83,4 @@
:dependencies [{1 :nvim-treesitter/nvim-treesitter-textobjects}]
:build ":TSUpdate"
:event :VeryLazy
- :config (fn []
- (setup))}
+ : config}