summaryrefslogtreecommitdiff
path: root/lua/custom/plugins/treesitter.lua
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2024-12-04 18:48:24 -0500
committertdback <tyler@tdback.net>2024-12-04 18:48:24 -0500
commit3b2163b821f4dbf1003804b9b19fd276dc4bc350 (patch)
tree809a679142eae8e7d3b4d2b3cf1426416883a7f9 /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.lua17
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,
+}