diff options
Diffstat (limited to '.config/nvim/lua/module/treesitter.lua')
-rw-r--r-- | .config/nvim/lua/module/treesitter.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/nvim/lua/module/treesitter.lua b/.config/nvim/lua/module/treesitter.lua new file mode 100644 index 0000000..e04b1c1 --- /dev/null +++ b/.config/nvim/lua/module/treesitter.lua @@ -0,0 +1,21 @@ +local treesitter = require "nvim-treesitter.configs" + +treesitter.setup{ + ensure_installed = { + "c", + "lua", + "vim", + "vimdoc", + "query", + "javascript", + "typescript", + "json", + "python" + }, + sync_install = false, + auto_install = true, + highlight = { + enable = true, + additional_vim_regex_highlighting = false, + }, +} |