aboutsummaryrefslogtreecommitdiffstats
path: root/config/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/nvim/lua/plugins/treesitter.lua')
-rw-r--r--config/nvim/lua/plugins/treesitter.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins/treesitter.lua b/config/nvim/lua/plugins/treesitter.lua
new file mode 100644
index 00000000..20063418
--- /dev/null
+++ b/config/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,12 @@
+return {
+ "nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function()
+ local configs = require("nvim-treesitter.configs")
+ configs.setup({
+ ensure_installed = {"lua", "c", "javascript"},
+ highlight = { enable = true },
+ indent = { enable = true }
+ })
+ end
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage