mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-28 03:30:12 +02:00
fix(ui): check folds of the statuscolumn win instead of current win
This commit is contained in:
parent
6428fc167c
commit
13e9f6e6b5
1 changed files with 5 additions and 3 deletions
|
@ -47,9 +47,11 @@ function M.statuscolumn()
|
|||
end
|
||||
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" }
|
||||
end
|
||||
end)
|
||||
|
||||
local nu = ""
|
||||
if vim.wo[win].number and vim.v.virtnum == 0 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue