Files
nvim-config/lua/plugins/nvim-treesitter.lua
T
Aaron Gorodetzky eb59604ac3 Wire treesitter parsers to language modules
Replace hardcoded parser list with languages.parsers() from the orchestrator.
Parsers now match enabled languages from the machine profile.
2026-09-14 10:18:08 -04:00

25 lines
712 B
Lua

return {
'nvim-treesitter/nvim-treesitter', -- Enhanced Syntax Parsing and Highlighting
branch = 'main',
lazy = false,
build = ':TSUpdate',
dependencies = {
'nvim-tree/nvim-web-devicons', -- NERDFont icons for many plugins
'nvim-treesitter/nvim-treesitter-context', -- Currently unknown
},
config = function()
-- Additional custom filetype registrations
vim.filetype.add({
extension = {
csproj = "xml",
sqr = "sql",
},
})
-- Install parsers defined by enabled language modules
local languages = require('languages')
local treesitter = require('nvim-treesitter')
treesitter.install(languages.parsers())
end,
}