diff options
Diffstat (limited to '.vim/after/plugin/treesitter.vim')
-rw-r--r-- | .vim/after/plugin/treesitter.vim | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.vim/after/plugin/treesitter.vim b/.vim/after/plugin/treesitter.vim new file mode 100644 index 0000000..c022662 --- /dev/null +++ b/.vim/after/plugin/treesitter.vim @@ -0,0 +1,20 @@ +if !has('nvim') + finish +endif + +packadd nvim-treesitter + +lua <<EOF + +local treesitter_config = require 'nvim-treesitter.configs' + +treesitter_config.setup { + ensure_installed = { 'c', 'lua', 'gdscript', 'go', 'python' }, + sync_install = false, + + highlight = { + enable = true, + }, +} + +EOF |