Open no-more-secrets opened 1 year ago
Can't fix it, I use https://github.com/haya14busa/vim-asterisk.
Thanks, but there is something that doesn't feel right about installing another plugin to work around an issue caused by a different plugin :-) If you really think this is not fixable then feel free to close.
Looks like hlslens checks
vim.o.smartcase
and, if it is on, respects it. However, that causes issues when initiating a search via*
, which does not respectvim.o.smartcase
. So e.g., if I havevim.o.smartcase = true
and then the following:and I put the cursor on the
SWITCH
and hit*
then hlslens produces lens only forSWITCH
, while vim will highlight all three lines, producing contradictory visual indicators. Any way to fix this? This has downstream effects also on other plugins such as scrollbar.nvim which rely on hlslens.