Files
.dotfiles/.config/nvim/lua/plugin/nvim-treesitter.lua
Quinn b066ba917f Rework nvim-treesitter to use the "newer" variant.
I still am experiencing some minor issues, when it comes to comment
placement, and inconsitencies with jsonc, for instance.
However, there's only so much one can do.
2026-01-26 22:56:50 +01:00

17 lines
390 B
Lua

---@module 'lazy'
---@type LazySpec
return { {
'nvim-treesitter/nvim-treesitter', -- highlight, edit, and navigate code
build = ':TSUpdate',
lazy = false,
config = function()
Autocmd('FileType', {
pattern = require('nvim-treesitter').get_available(),
callback = function(ft)
require('nvim-treesitter').install(ft.match)
pcall(vim.treesitter.start)
end
})
end,
} }