-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calm_down - add additional option hide only hlsens labels #31
Comments
require('hlslens').setup({
override_lens = function() end
}) |
@kevinhwang91 I can see that main.lua has; if calmDown then
if not position.inRange(startPos, endPos, curPos) then
vim.schedule(function()
cmd('noh')
reset()
end)
return
elseif hit then
return
end
end
render.addWinHighlight(0, startPos, endPos)
render.doLens(splist, #offsetPos == 0, idx, rIdx) And there are - addWinHighlight and doLens. I assume disabling doLens and leaving addWinHighlights enabled will get me the result I want. |
No option for that. Have you tried the setup I post above? |
@kevinhwang91 using : Right now hlslens would remove highlights on bottom. But I would like to see them (and maybe disable manually using :set hlsearch!) |
Is your feature request related to a problem? Please describe.
I sometimes use search highlights, so that I can easily visualize occurrences of selected/searched word. I do not use n/N then, so
calm_down
is great since it hides hlslens labels. But it also hides the highlights of matched words.Describe the solution you'd like
add additional option -
calm_down_labels_only
to config. This with it enabled, only hlslens labels would be hidden.Describe alternatives you've considered
I think there is none.
Additional context
The text was updated successfully, but these errors were encountered: