aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-24 21:59:54 +0300
committerawy <awy@awy.one>2024-11-24 21:59:54 +0300
commit13fbd5bc4ecf15e8d9b9578e03f83669f218ee32 (patch)
tree2716c11b36383c02a155dd667c7fa59ae698a350 /.config/nvim/lua/plugins/treesitter.lua
parent534aa3ce4c7c35d8f5e325ba27ec8803488a41f3 (diff)
neovim cfg
Diffstat (limited to '.config/nvim/lua/plugins/treesitter.lua')
-rw-r--r--.config/nvim/lua/plugins/treesitter.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..0e5b9fe
--- /dev/null
+++ b/.config/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,11 @@
+return {"nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function()
+ local config = require("nvim-treesitter.configs")
+ config.setup({
+ ensure_installed = { "c", "lua", "html", "css" },
+ highlight = { enable = true },
+ indent = { enable = true },
+ })
+ end
+}