summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorJake Koroman <jake@jakekoroman.com>2025-10-03 13:26:13 -0400
committerJake Koroman <jake@jakekoroman.com>2025-10-03 13:26:13 -0400
commitf42b5230a84b2bbdb264e4ee98a3878fd610b701 (patch)
tree96164a990fa5b84cf4a7839ff0d858b61148350a /nvim/lua/plugins/treesitter.lua
parent059b9b883a346be8cc2a0311088ef89257704854 (diff)
add nvim.
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,
+ },
+ },
+}