summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin/treesitter.lua')
-rw-r--r--.config/nvim/after/plugin/treesitter.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua
new file mode 100644
index 0000000..ad7f027
--- /dev/null
+++ b/.config/nvim/after/plugin/treesitter.lua
@@ -0,0 +1,23 @@
+require('nvim-treesitter.configs').setup {
+ ensure_installed = {
+ 'c',
+ 'go',
+ 'gomod',
+ 'html',
+ 'lua',
+ 'python',
+ 'query',
+ 'rust',
+ 'vim',
+ 'vimdoc',
+ 'zig',
+ },
+
+ sync_install = false,
+ auto_install = true,
+
+ highlight = {
+ enable = true,
+ additional_vim_regex_highlighting = false,
+ },
+}