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
Oops! This occurs on latest nightly, e9b53f3fb56e91a0d4f15bb36d8068bcc6ea88cf. I pasted the version I bisected to instead of the version on master. I"ve updated the issue accordingly.
I"ve realised the bug only occurs when conceallevel is non-zero. My repro steps unintentionally used a help file which sets conceallevel=2.
I"ve updated the title accordingly.
gelguy
changed the title
Wrong incsearch highlighting when calling nvim_buf_set_lines from timer in cmdline
Wrong incsearch highlighting when calling nvim_buf_set_lines from timer in cmdline with conceallevel
Jun 19, 2022
@bfredl this causes issues with ext_cmdline when entering search and rendering the search ui.
To fix this, I currently set conceallevel=0 when entering the cmdline with firstc=? or /, and then setting it back when leaving the commandline, but would be great to also add this to the roadmap for 0.9.0 :)
Neovim version (nvim -v)
v0.7.0-dev+1292-ge9b53f3fb
Vim (not Nvim) behaves the same?
No
Operating system/version
WSL Ubuntu
Terminal name/version
wsltty
$TERM environment variable
xterm-256color
Installation
Build from source
How to reproduce the issue
nvim -u init.vim
:h<CR>
to open help file/with<CR>
search for text/Bar<CR>
search for another textExpected behavior
incsearch
highlight works as expected.Actual behavior
When searching for
with
, the incsearch highlighting is missing.When searching for
Bar
, incsearch highlightswith
instead ofBar
.This is similar to #14064 but with the additional step of
nvim_buf_set_lines()
.Bisected to 5ab1229:
feat: add support for global statusline
The text was updated successfully, but these errors were encountered: