summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/treesitter.lua')
-rw-r--r--nvim/lua/plugins/treesitter.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..73b2e05
--- /dev/null
+++ b/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,12 @@
+return {
+ 'nvim-treesitter/nvim-treesitter',
+ build = ':TSUpdate',
+ main = 'nvim-treesitter.configs',
+ opts = {
+ ensure_installed = { 'bash', 'c', 'zig', 'diff', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' },
+ auto_install = true,
+ highlight = {
+ enable = true,
+ },
+ },
+}