summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor')
-rw-r--r--fnl/plugins/editor/treesitter.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/plugins/editor/treesitter.fnl b/fnl/plugins/editor/treesitter.fnl
index b0d9c60..e1718be 100644
--- a/fnl/plugins/editor/treesitter.fnl
+++ b/fnl/plugins/editor/treesitter.fnl
@@ -80,7 +80,7 @@
(treesitter.setup opts)))
{1 :nvim-treesitter/nvim-treesitter
- :dependencies [{1 :nvim-treesitter/nvim-treesitter-textobjects}]
+ :dependencies [{1 :nvim-treesitter/nvim-treesitter-textobjects :lazy true}]
:build ":TSUpdate"
- :event :VeryLazy
+ :event [:BufReadPost :BufNewFile]
: config}