mirror of
https://github.com/StepanovPlaton/dotfiles.git
synced 2026-04-03 20:30:46 +04:00
32 lines
831 B
Lua
32 lines
831 B
Lua
return {
|
|
{
|
|
-- Подсветка синтаксиса
|
|
"nvim-treesitter/nvim-treesitter",
|
|
dependencies = {
|
|
"windwp/nvim-ts-autotag",
|
|
},
|
|
build = ":TSUpdate",
|
|
config = function ()
|
|
local configs = require("nvim-treesitter.configs")
|
|
configs.setup({
|
|
ensure_installed = {
|
|
"html", "markdown", "latex",
|
|
"css", "scss", -- "less", not found
|
|
"javascript", -- "jsx", not found
|
|
"typescript", "tsx",
|
|
"python", "lua",
|
|
"vim", "vimdoc", "query",
|
|
"bash",
|
|
"c",
|
|
"json", "yaml",
|
|
},
|
|
sync_install = false,
|
|
highlight = { enable = true },
|
|
incremental_selection = { enable = true },
|
|
indent = { enable = true },
|
|
autotag = { enable = true }
|
|
})
|
|
end
|
|
}
|
|
}
|