summaryrefslogtreecommitdiff
path: root/lua/tjk/plugins/treesitter.lua
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-05-22 17:06:16 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-05-22 17:06:16 -0500
commite3f222487a57b2f3f995628630cd9ae65c3a210b (patch)
treef1a3c8582ae71d859b2dd6e7c3a55b2f2a30d3f8 /lua/tjk/plugins/treesitter.lua
parentf83593f430118f0499454f88cbe028c822e760a3 (diff)
downloadnvim-e3f222487a57b2f3f995628630cd9ae65c3a210b.tar.xz
nvim-e3f222487a57b2f3f995628630cd9ae65c3a210b.zip
new super fancy loader more akin to lazy.nvimHEADmaster
Diffstat (limited to 'lua/tjk/plugins/treesitter.lua')
-rw-r--r--lua/tjk/plugins/treesitter.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/tjk/plugins/treesitter.lua b/lua/tjk/plugins/treesitter.lua
new file mode 100644
index 0000000..d35107b
--- /dev/null
+++ b/lua/tjk/plugins/treesitter.lua
@@ -0,0 +1,24 @@
+return {
+ "nvim-treesitter.configs",
+ "https://github.com/nvim-treesitter/nvim-treesitter",
+ setup = {
+ highlight = { enable = true, disable = { "yaml", "dockerfile" } },
+ --indent = { enable = true }, -- FIXME
+ },
+ dependents = {
+ {
+ "nvim-ts-autotag",
+ "https://github.com/windwp/nvim-ts-autotag",
+ setup = {
+ per_filetype = { ["html"] = { enable_close = true } },
+ },
+ },
+ {
+ "rainbow-delimiters.setup",
+ "https://github.com/HiPhish/rainbow-delimiters.nvim"
+ },
+ },
+ loadFn = function()
+ vim.g._ts_force_sync_parsing = true -- #32660
+ end,
+}