Перешел на lazy nvim, навел порядок в плагинах

This commit is contained in:
Alexander Neonxp Kiryukhin 2025-05-02 16:05:47 +03:00
parent 91873ed81a
commit 446d2716e7
Signed by: NeonXP
SSH key fingerprint: SHA256:SVt7TjxbVc87m1QYaQziOJ0N3OCFURv2g76gD/UTTXI
25 changed files with 790 additions and 469 deletions

View file

@ -1,47 +1,66 @@
require("nvim-treesitter.configs").setup({
highlight = { enable = true },
ensure_installed = {
"c",
"lua",
"python",
"bash",
"go",
"html",
"css",
"javascript",
"typescript",
"git_config",
"git_rebase",
"gitattributes",
"gitcommit",
"gitignore",
"gomod",
"gosum",
"gotmpl",
"gowork",
"hjson",
"ini",
"json",
"json5",
"jsonnet",
"latex",
"make",
"markdown",
"markdown_inline",
"nginx",
"proto",
"rust",
"templ",
"todotxt",
"toml",
"tsx",
"typescript",
"vim",
"vimdoc",
"xml",
"yaml",
"sql",
"ssh_config",
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
opts = {
highlight = { enable = true },
ensure_installed = {
"c",
"lua",
"python",
"bash",
"go",
"html",
"css",
"javascript",
"typescript",
"git_config",
"git_rebase",
"gitattributes",
"gitcommit",
"gitignore",
"gomod",
"gosum",
"gotmpl",
"gowork",
"hjson",
"ini",
"json",
"json5",
"jsonnet",
"latex",
"make",
"markdown",
"markdown_inline",
"nginx",
"proto",
"rust",
"templ",
"todotxt",
"toml",
"tsx",
"typescript",
"vim",
"vimdoc",
"xml",
"yaml",
"sql",
"ssh_config",
},
ignore_install = { "gdhsader", "phpdoc" },
indent = { enable = true },
auto_install = true,
sync_install = false,
textobjects = { select = { enable = true, lookahead = true } },
},
ignore_install = { "gdhsader", "phpdoc" },
})
dependencies = {
{ "nvim-treesitter/nvim-treesitter-textobjects" },
{
"nvim-treesitter/nvim-treesitter-context",
opts = {
enable = true,
mode = "topline",
line_numbers = true,
},
},
},
}