mirror of
https://github.com/zoriya/virtcolumn.nvim.git
synced 2026-08-16 02:44:44 +00:00
Temporarily disable the items filtering
This commit is contained in:
@@ -70,11 +70,12 @@ local function _refresh()
|
|||||||
|
|
||||||
local ctx = get_win_context()
|
local ctx = get_win_context()
|
||||||
|
|
||||||
local ll = ctx.leftcol
|
-- TODO: Find time to fix the bug that clears the displayed content when opening the sidebar(window)
|
||||||
local ul = ctx.width + ctx.leftcol - ctx.textoff
|
-- local ll = ctx.leftcol
|
||||||
items = vim.tbl_filter(function(item)
|
-- local ul = ctx.width + ctx.leftcol - ctx.textoff
|
||||||
return item > ll and item < ul
|
-- items = vim.tbl_filter(function(item)
|
||||||
end, items)
|
-- return item > ll and item < ul
|
||||||
|
-- end, items)
|
||||||
|
|
||||||
if #items == 0 then
|
if #items == 0 then
|
||||||
api.nvim_buf_clear_namespace(curbuf, NS, 0, -1)
|
api.nvim_buf_clear_namespace(curbuf, NS, 0, -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user