diff options
author | tdback <tyler@tdback.net> | 2024-12-04 18:48:24 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2024-12-04 18:48:24 -0500 |
commit | 3b2163b821f4dbf1003804b9b19fd276dc4bc350 (patch) | |
tree | 809a679142eae8e7d3b4d2b3cf1426416883a7f9 /lua/custom/plugins/treesitter.lua |
initial commit to new repo
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, +} |