Files
Neovim/lua/plugins/treesitter.lua
T
faumaray 95dc3b686a initial
Signed-off-by: faumaray <faumaray@gmail.com>
2026-04-17 00:23:01 +03:00

22 lines
991 B
Lua

--[[
File: treesitter.lua
Description: Configuration of tree-sitter
See: https://github.com/tree-sitter/tree-sitter
]]
return {
"romus204/tree-sitter-manager.nvim",
dependencies = {}, -- tree-sitter CLI must be installed system-wide
config = function()
require("tree-sitter-manager").setup({
-- Default Options
ensure_installed = {"cpp", "cmake"}, -- 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 = true, -- 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
}