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 - режим замены
|
-- SR - режим замены
|
||||||
-- EI - нормальный режим
|
-- EI - нормальный режим
|
||||||
|
|
||||||
local parsers_dir = vim.fn.stdpath("data") .. "/lazy/nvim-treesitter/parser"
|
|
||||||
vim.opt.runtimepath:prepend(parsers_dir)
|
|
||||||
|
|
||||||
-- Column
|
-- Column
|
||||||
opt.cc = "80"
|
opt.cc = "80"
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,6 @@ return {
|
|||||||
"ThePrimeagen/refactoring.nvim",
|
"ThePrimeagen/refactoring.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("telescope").load_extension("refactoring")
|
require("telescope").load_extension("refactoring")
|
||||||
|
|||||||
@ -23,6 +23,15 @@ return {
|
|||||||
require("nvim-ts-autotag").setup()
|
require("nvim-ts-autotag").setup()
|
||||||
end
|
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',
|
'numToStr/Comment.nvim',
|
||||||
keys = { { "gc" }, { "gc", mode = "v" } },
|
keys = { { "gc" }, { "gc", mode = "v" } },
|
||||||
@ -30,20 +39,6 @@ return {
|
|||||||
require("Comment").setup()
|
require("Comment").setup()
|
||||||
end
|
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",
|
"thek4n/mdimage.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@ -10,8 +10,4 @@ return {
|
|||||||
{
|
{
|
||||||
'chaoren/vim-wordmotion',
|
'chaoren/vim-wordmotion',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
|
||||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user