Closed ycycyyc closed 1 year ago
I fixed a related bug so that labels will use the correct hl_group, but this won't fix your issue.
If you do /
and then type slowly, you'll see that the label actually gets rendered, but the regular Neovim search then unfortunately quickly overwrites it with the default search highlights.
There doesn't seem to be a proper way to prevent this.
You could try disabling hlsearch
, or similar settings, but I'm not sure that will work as intended.
Thanks for the reply! Disabling hlsearch does not take effect after updating this plugin. Looks like it can't be solved.
If you use the s
mapping, then highlights will be shown correctly
thanks, i'll try it.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.2-dev-112+g65fc17b34
Operating system/version
macos 13.04
Describe the bug
In some cases(When I want to adjust the position of the label to the first character of the matching string), the label corresponding to the first matched string cannot be seen.
Steps To Reproduce
func main() { return }