kevinhwang91 / nvim-hlslens

Hlsearch Lens for Neovim
BSD 3-Clause "New" or "Revised" License
769 stars 11 forks source link

Virtual text displayed for current line only when `asterisk#keeppos` option is set #23

Closed gbcreation closed 2 years ago

gbcreation commented 2 years ago

Features: +acl +iconv +tui

Describe the bug

When nvim-hlslens is used with vim-asterisk as described in the Integrate with other plugins section of the README and the keepCursor feature of vim-asterisk is enabled with let g:asterisk#keeppos = 1, virtual texts of nvim-hlslens are:

Steps to reproduce the behavior:

  1. move the cursor on the second character of a word
  2. hit *

Expected behavior

All virtual texts should be displayed.

Screenshots

Screenshot_20220113_231021

Screenshot_20220113_231049

kevinhwang91 commented 2 years ago

Thanks, fixed now.

kevinhwang91 commented 2 years ago

There are some problems with indicators, this is the reason why I didn't show lens before, need fix now.