From 3b2163b821f4dbf1003804b9b19fd276dc4bc350 Mon Sep 17 00:00:00 2001 From: tdback Date: Wed, 4 Dec 2024 18:48:24 -0500 Subject: initial commit to new repo --- lua/custom/plugins/treesitter.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/custom/plugins/treesitter.lua (limited to 'lua/custom/plugins/treesitter.lua') 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, +} -- cgit v1.2.3