summaryrefslogtreecommitdiff
path: root/lua/tjk/plugins/treesitter.lua
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-06 09:51:41 -0600
committerTim Keller <tjkeller.xyz>2025-01-06 09:51:41 -0600
commit0002b2cfb64b25029322bd7dc0031c63e19ade08 (patch)
tree4c6be46e71239d0067fd7834532c9b6eb64efbd8 /lua/tjk/plugins/treesitter.lua
parent8e38f7406f5cee213562950bf23e0d44d6562e44 (diff)
downloadnvim-0002b2cfb64b25029322bd7dc0031c63e19ade08.tar.xz
nvim-0002b2cfb64b25029322bd7dc0031c63e19ade08.zip
fix for new nixos w/ nvim 10 and add lsp support
Diffstat (limited to 'lua/tjk/plugins/treesitter.lua')
-rw-r--r--lua/tjk/plugins/treesitter.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/lua/tjk/plugins/treesitter.lua b/lua/tjk/plugins/treesitter.lua
index 925fb13..835e1af 100644
--- a/lua/tjk/plugins/treesitter.lua
+++ b/lua/tjk/plugins/treesitter.lua
@@ -11,9 +11,7 @@ return {
"windwp/nvim-ts-autotag", -- close tags in html/xml type languages
opts = {
per_filetype = {
- ["html"] = {
- enable_close = true
- }
+ ["html"] = { enable_close = true },
}
}
},
@@ -24,7 +22,7 @@ return {
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "comment",
"javascript", "html", "css", "scss", "python", "php" },
auto_install = true, -- install available parsers when entering new buffers
- highlight = { enable = true, disable = { "yaml", "bash", "latex" } },
+ highlight = { enable = true, disable = { "yaml" } },
indent = { enable = true, disable = { "yaml" } },
--playground = { enable = true }, -- treesitter debug
})