diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-29 22:00:03 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-29 22:00:03 +0200 |
commit | 0ecf119c9f565c3762c67b7a35f7110ce075bb85 (patch) | |
tree | e48035414ae95a402b194579cc664d87f1610a30 /fnl | |
parent | 3a5f7d5873076a86f934ff69507c900d34b40f12 (diff) |
Load treesitter on buf post/new
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/plugins/editor/treesitter.fnl | 4 |
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} |