chore(nvim): do i need treesitter ?

main
sudo pacman -Syu 2023-11-11 13:04:07 +07:00
parent 7fb0ff0474
commit e74e3ad8ec
1 changed files with 0 additions and 37 deletions

View File

@ -116,10 +116,6 @@ require("lazy").setup({
},
}
end,
integrations = {
treesitter = true,
treesitter_context = true,
},
})
vim.cmd("colorscheme catppuccin")
@ -311,7 +307,6 @@ require("lazy").setup({
"kevinhwang91/nvim-ufo",
dependencies = {
"kevinhwang91/promise-async",
"nvim-treesitter/nvim-treesitter",
},
init = function()
vim.o.foldcolumn = "1"
@ -396,38 +391,6 @@ require("lazy").setup({
end,
},
-- https://github.com/nvim-treesitter/nvim-treesitter
{
"nvim-treesitter/nvim-treesitter",
build = {
":TSUpdate",
},
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"go",
"json",
"lua",
"proto",
"sql",
"toml",
"yaml",
},
})
end,
},
-- https://github.com/nvim-treesitter/nvim-treesitter-context
{
"nvim-treesitter/nvim-treesitter-context",
config = function()
require("treesitter-context").setup({
enable = true,
max_lines = 2,
})
end,
},
-- https://github.com/neovim/nvim-lspconfig
{
"neovim/nvim-lspconfig",