aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/treesitter.lua')
-rwxr-xr-x.config/nvim/lua/plugins/treesitter.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua
new file mode 100755
index 0000000..90b57fb
--- /dev/null
+++ b/.config/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,15 @@
+return {
+ "nvim-treesitter/nvim-treesitter",
+ branch = "master",
+ lazy = false,
+ build = ":TSUpdate",
+ config = function()
+ local config = require("lazy")
+ config.setup({
+ auto_install = true,
+ highlight = { enable = true },
+ ensure_installed = { "v", "c", "lua", "vim", "markeown" },
+ indent = { enable = true },
+ })
+ end,
+}