You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 respect vim.o.smartcase. So e.g., if I have vim.o.smartcase = true and then the following:
switch
SWITCH
switch
and I put the cursor on the SWITCH and hit * then hlslens produces lens only for SWITCH, 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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: