summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-01-24 00:21:04 +0000
committerBlake Romero <blake@blkrom.com>2025-01-24 00:21:04 +0000
commit8b9517d63146e170a03554033164c2126160f8a8 (patch)
tree5040806b01aca9595a454ff30bbf9d9be659af49 /lua
parent29d82d16de6f44c59ee0c93a20ca3a9c645741f5 (diff)
Add treesitter
Diffstat (limited to '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..24e6c32
--- /dev/null
+++ b/lua/plugins/treesitter.lua
@@ -0,0 +1,13 @@
+return {
+ "nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function ()
+ local ts = require("nvim-treesitter.configs")
+ ts.setup({
+ ensure_installed = { "c", "lua", "vim", "vimdoc", "html", "css", "javascript" },
+ sync_install = false,
+ highlight = { enable = true },
+ indent = { enable = true },
+ })
+ end
+}