aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-11-19 19:35:16 +0300
committerawy <awy@awy.one>2025-11-19 19:35:16 +0300
commit790eccde5e3bb6a187a47c34fa905bab064fad71 (patch)
tree4eeaa7b05b47442f6d72a19194e0e161159bb221 /.config/nvim/lua/plugins/treesitter.lua
parentc767767a21064a4ce8cade883a3c59f2f2d32165 (diff)
downloadhyprdots-790eccde5e3bb6a187a47c34fa905bab064fad71.tar.gz
yep
Diffstat (limited to '.config/nvim/lua/plugins/treesitter.lua')
-rw-r--r--.config/nvim/lua/plugins/treesitter.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..6312070
--- /dev/null
+++ b/.config/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,14 @@
+return {
+ {
+ "nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function()
+ local config = require("nvim-treesitter.configs")
+ config.setup({
+ auto_install = true,
+ highlight = { enable = true },
+ indent = { enable = true },
+ })
+ end
+ }
+}