1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update config related to folding

1. For python and lua, rely on LSP for folding
2. show fold signs on the right of the number column
This commit is contained in:
jdhao
2024-08-05 23:14:24 +02:00
parent fe95658319
commit 5502d29f40
3 changed files with 1 additions and 9 deletions

View File

@@ -194,9 +194,9 @@ local plugin_specs = {
require("statuscol").setup {
relculright = true,
segments = {
{ text = { builtin.foldfunc }, click = "v:lua.ScFa" },
{ text = { "%s" }, click = "v:lua.ScSa" },
{ text = { builtin.lnumfunc, " " }, click = "v:lua.ScLa" },
{ text = { builtin.foldfunc, " " }, condition = {true, builtin.not_empty}, click = "v:lua.ScFa" },
},
}
end,