neovim-config/lua/plugins/ts.lua

58 lines
1.6 KiB
Lua

return {
'romus204/tree-sitter-manager.nvim',
dependencies = {}, -- tree-sitter CLI must be installed system-wide
config = function()
require('tree-sitter-manager').setup({
ensure_installed = {
'bash',
'c_sharp',
'caddy',
'css',
'csv',
'desktop',
'diff',
'dockerfile',
'editorconfig',
'gdscript',
'gdshader',
'git_config',
'gitattributes',
'gitcommit',
'gitignore',
'html',
'ini',
'javascript',
'jsdoc',
'json',
'json5',
'lua',
'luadoc',
'luap',
'markdown',
'php',
'printf',
'prisma',
'properties',
'python',
'scss',
'sql',
'ssh_config',
'toml',
'tsx',
'typescript',
'xml',
'yaml',
'zig',
},
-- Default Options
-- ensure_installed = {}, -- list of parsers to install at the start of a neovim session
-- border = nil, -- border style for the window (e.g. "rounded", "single"), if nil, use the default border style defined by 'vim.o.winborder'. See :h 'winborder' for more info.
-- auto_install = false, -- if enabled, install missing parsers when editing a new file
-- highlight = true, -- treesitter highlighting is enabled by default
-- languages = {}, -- override or add new parser sources
-- parser_dir = vim.fn.stdpath("data") .. "/site/parser",
-- query_dir = vim.fn.stdpath("data") .. "/site/queries",
})
end,
}