summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
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
+}