chore(nvim): remove ufo

main
sudo pacman -Syu 2023-11-17 13:56:04 +07:00
parent 28fe5d8989
commit cd21aca649
1 changed files with 0 additions and 29 deletions

View File

@ -302,28 +302,6 @@ require("lazy").setup({
end, end,
}, },
-- https://github.com/kevinhwang91/nvim-ufo
{
"kevinhwang91/nvim-ufo",
dependencies = {
"kevinhwang91/promise-async",
},
init = function()
vim.o.foldcolumn = "1"
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
end,
config = function()
local ufo = require("ufo")
vim.keymap.set("n", "zR", ufo.openAllFolds)
vim.keymap.set("n", "zM", ufo.closeAllFolds)
ufo.setup()
end,
},
-- https://github.com/echasnovski/mini.nvim -- https://github.com/echasnovski/mini.nvim
{ {
"echasnovski/mini.nvim", "echasnovski/mini.nvim",
@ -398,13 +376,6 @@ require("lazy").setup({
config = function() config = function()
local lspconfig = require("lspconfig") local lspconfig = require("lspconfig")
-- Support nvim-ufo
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.foldingRange = {
dynamicRegistration = false,
lineFoldingOnly = true,
}
-- Go -- Go
-- https://github.com/golang/tools/blob/master/gopls/doc/vim.md -- https://github.com/golang/tools/blob/master/gopls/doc/vim.md
-- https://github.com/golang/tools/blob/master/gopls/doc/settings.md -- https://github.com/golang/tools/blob/master/gopls/doc/settings.md