33 lines
845 B
Lua
33 lines
845 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",
|
|
}
|
|
})
|
|
|
|
local treesitter = require('nvim-treesitter')
|
|
treesitter.install({
|
|
"lua",
|
|
"rust",
|
|
"toml",
|
|
"python",
|
|
"javascript",
|
|
"typescript",
|
|
"html",
|
|
"css",
|
|
"json",
|
|
})
|
|
end,
|
|
}
|