diff options
Diffstat (limited to 'lua/tjk/plugins/treesitter.lua')
| -rw-r--r-- | lua/tjk/plugins/treesitter.lua | 24 |
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, +} |
