aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorIndrajith2024-07-05 04:06:58 +0530
committerIndrajith2024-07-05 04:06:58 +0530
commit45f8d6233b76f4657cd9136c33e3f1564f25648c (patch)
tree63c4e3a76fe62e2a0d03cd8fb5e28c5110d7174c /nvim/lua/plugins/treesitter.lua
parent51381df5cf53222e9c2d4683cf098ef4f019f02f (diff)
downloaddots-45f8d6233b76f4657cd9136c33e3f1564f25648c.tar.gz
dots-45f8d6233b76f4657cd9136c33e3f1564f25648c.tar.bz2
dots-45f8d6233b76f4657cd9136c33e3f1564f25648c.zip
Dots Updated
* Adds Neovim config
Diffstat (limited to 'nvim/lua/plugins/treesitter.lua')
-rw-r--r--nvim/lua/plugins/treesitter.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua
new file mode 100644
index 000000000..cec1c061d
--- /dev/null
+++ b/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,16 @@
+return{
+ {
+ "nvim-treesitter/nvim-treesitter",
+ build = ":TSUpdate",
+ config = function()
+
+ local config = require("nvim-treesitter.configs")
+ config.setup({
+ ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html", "css","fish","json","make","odin","rasi","xml" },
+ sync_install = false,
+ highlight = { enable = true },
+ indent = { enable = true },
+ })
+ end
+ }
+}