crusj / bookmarks.nvim

Remember file locations and sort by time and frequency and support telescope.
MIT License
222 stars 17 forks source link

Possible bug concerning config item virt_pattern #26

Closed lgeralds closed 1 year ago

lgeralds commented 1 year ago

virt_pattern is limited to five items. In the file bookmarks.nvim/lua/bookmarks/config.lua, tables are being copied item by item. This makes sense for keymap and hl. They have defined membership.

virt_pattern is open ended.

Changing line bookmarks.nvim/lua/bookmarks/config.lua#35 to: if type(dv) ~= "table" or dk == 'virt_pattern' then copies all items.

crusj commented 1 year ago

virt_pattern is limited to five items. In the file bookmarks.nvim/lua/bookmarks/config.lua, tables are being copied item by item. This makes sense for keymap and hl. They have defined membership.

virt_pattern is open ended.

Changing line bookmarks.nvim/lua/bookmarks/config.lua#35 to: if type(dv) ~= "table" or dk == 'virt_pattern' then copies all items.

Thank you. You're right.