From 45f8d6233b76f4657cd9136c33e3f1564f25648c Mon Sep 17 00:00:00 2001 From: Indrajith Date: Fri, 5 Jul 2024 04:06:58 +0530 Subject: Dots Updated * Adds Neovim config --- nvim/lua/plugins/treesitter.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nvim/lua/plugins/treesitter.lua (limited to 'nvim/lua/plugins/treesitter.lua') 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 + } +} -- cgit v1.2.3