From 0ecf119c9f565c3762c67b7a35f7110ce075bb85 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 29 Sep 2023 22:00:03 +0200 Subject: Load treesitter on buf post/new --- fnl/plugins/editor/treesitter.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl') 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} -- cgit v1.2.3-70-g09d2