fix(nvim): remove deprecated treesitter
This commit is contained in:
parent
8add479f67
commit
a166ce6865
@ -122,9 +122,6 @@ vim.g.t_EI = [[\e[1 q]]
|
||||
-- SR - режим замены
|
||||
-- EI - нормальный режим
|
||||
|
||||
local parsers_dir = vim.fn.stdpath("data") .. "/lazy/nvim-treesitter/parser"
|
||||
vim.opt.runtimepath:prepend(parsers_dir)
|
||||
|
||||
-- Column
|
||||
opt.cc = "80"
|
||||
|
||||
|
||||
@ -15,7 +15,6 @@ return {
|
||||
"ThePrimeagen/refactoring.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
require("telescope").load_extension("refactoring")
|
||||
|
||||
@ -23,6 +23,15 @@ return {
|
||||
require("nvim-ts-autotag").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
"romus204/tree-sitter-manager.nvim",
|
||||
config = function()
|
||||
require("tree-sitter-manager").setup({
|
||||
-- ensure_installed = {"python", "lua", "vim", "html", "rust", "markdown", "markdown_inline", "regex"},
|
||||
auto_install = true,
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
'numToStr/Comment.nvim',
|
||||
keys = { { "gc" }, { "gc", mode = "v" } },
|
||||
@ -30,20 +39,6 @@ return {
|
||||
require("Comment").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
event = "BufReadPost",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {"python", "lua", "vim", "html", "rust", "markdown", "regex"},
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
}
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
"thek4n/mdimage.nvim",
|
||||
config = function()
|
||||
|
||||
@ -10,8 +10,4 @@ return {
|
||||
{
|
||||
'chaoren/vim-wordmotion',
|
||||
},
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||
},
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user