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

This commit is contained in:
Folke Lemaitre 2023-10-10 23:02:59 +02:00
parent 65874d161a
commit 5538ab2d64
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

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" }