fix(ui): dont show left signs on virtual line numbers (wrap). Fixes #1654

This commit is contained in:
Folke Lemaitre committed 2023-10-11 14:56:54 +02:00
1 parent 65874d161a
commit 5538ab2d64
1 file changed
+4
+4
View File
@@ -101,6 +101,10 @@ function M.statuscolumn()
end
end
if vim.v.virtnum ~= 0 then
left = nil
end
vim.api.nvim_win_call(win, function()
if vim.fn.foldclosed(vim.v.lnum) >= 0 then
fold = { text = vim.opt.fillchars:get().foldclose or "", texthl = "Folded" }