diff options
Diffstat (limited to 'lua/custom/plugins/treesitter.lua')
-rw-r--r-- | lua/custom/plugins/treesitter.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/custom/plugins/treesitter.lua b/lua/custom/plugins/treesitter.lua new file mode 100644 index 0000000..3de7c04 --- /dev/null +++ b/lua/custom/plugins/treesitter.lua @@ -0,0 +1,17 @@ +return { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + lazy = false, + config = function() + require("nvim-treesitter.configs").setup({ + ensure_installed = { "nix", "lua", "bash" }, + auto_install = true, + sync_install = false, + indent = { enable = true }, + highlight = { + enable = true, + additional_vim_regex_highlighting = false, + }, + }) + end, +} |