summaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorroot <root@guest.guest>2025-06-25 18:25:08 +0000
committerroot <root@guest.guest>2025-06-25 18:25:08 +0000
commitfb1977df937127f63728f90702920aeaf7bce35f (patch)
treea18a3eba105f46a4ede0fbddfdfe655d5efe506f /lua/plugins/treesitter.lua
init commitHEADmaster
Diffstat (limited to 'lua/plugins/treesitter.lua')
-rw-r--r--lua/plugins/treesitter.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..e7b181d
--- /dev/null
+++ b/lua/plugins/treesitter.lua
@@ -0,0 +1,13 @@
+return {
+ "nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function()
+ local config = require("nvim-treesitter.configs")
+ config.setup({
+ ensure_installed = { "lua", "javascript", "yaml", "python", "terraform" },
+ sync_install = false,
+ highlight = { enable = true },
+ indent = { enable = true },
+ })
+ end
+}