feat(fold): add nvim-ufo for improved code folding and pylsp config disable

This commit is contained in:
sankalp committed 2025-09-15 14:14:17 +05:45
1 parent 7b6d0ea4d1
commit 2d955fe2af
5 files changed
+117 -21

No files matched your search

+17 -17
View File
@@ -75,23 +75,23 @@ vim.lsp.config("basedpyright", {
})
vim.lsp.enable("basedpyright")
vim.lsp.config("pylsp", {
settings = {
pylsp = {
plugins = {
-- use black as default formatter
yapf = { enabled = false },
autopep8 = { enabled = false },
black = { enabled = true },
pycodestyle = {
enabled = true,
ignore = { "E203", "E701", "W503" },
maxLineLength = 88,
},
},
},
},
})
-- vim.lsp.config("pylsp", {
-- settings = {
-- pylsp = {
-- plugins = {
-- -- use black as default formatter
-- yapf = { enabled = false },
-- autopep8 = { enabled = false },
-- black = { enabled = true },
-- pycodestyle = {
-- enabled = true,
-- ignore = { "E203", "E701", "W503" },
-- maxLineLength = 88,
-- },
-- },
-- },
-- },
-- })
-- latex
vim.lsp.config("texlab", {