mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
fix(statuscolumn): don't show signs on virtual ligns. See #198
This commit is contained in:
parent
60bd4e108c
commit
f5fb59cc4c
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ function M._get()
|
|||
local win = vim.g.statusline_winid
|
||||
local buf = vim.api.nvim_win_get_buf(win)
|
||||
local is_file = vim.bo[buf].buftype == ""
|
||||
local show_signs = vim.wo[win].signcolumn ~= "no"
|
||||
local show_signs = vim.wo[win].signcolumn ~= "no" and vim.v.virtnum == 0
|
||||
|
||||
local components = { "", "", "" } -- left, middle, right
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue