mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-27 11:19:02 +02:00
fix(ui): dont show left signs on virtual line numbers (wrap). Fixes #1654
This commit is contained in:
parent
65874d161a
commit
5538ab2d64
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ function M.statuscolumn()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if vim.v.virtnum ~= 0 then
|
||||||
|
left = nil
|
||||||
|
end
|
||||||
|
|
||||||
vim.api.nvim_win_call(win, function()
|
vim.api.nvim_win_call(win, function()
|
||||||
if vim.fn.foldclosed(vim.v.lnum) >= 0 then
|
if vim.fn.foldclosed(vim.v.lnum) >= 0 then
|
||||||
fold = { text = vim.opt.fillchars:get().foldclose or "", texthl = "Folded" }
|
fold = { text = vim.opt.fillchars:get().foldclose or "", texthl = "Folded" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue