mirror of
https://github.com/neovim/neovim
synced 2025-07-17 17:51:48 +00:00
fix(runtime): no conceal in qf on :lopen #34854
Problem: No conceal in qf on `lopen` since74fcc945
. Repro: nvim --clean +'tab Man ls' +'norm gO' +lclose +lopen Solution: Consider "Table of contents" title. (cherry picked from commit76f6868e0a
)
This commit is contained in:
committed by
github-actions[bot]
parent
c97ad3cb41
commit
388b559848
@ -19,7 +19,7 @@ syn match qfError "error" contained
|
|||||||
syn cluster qfType contains=qfError
|
syn cluster qfType contains=qfError
|
||||||
|
|
||||||
" Hide file name and line number for help outline (TOC).
|
" Hide file name and line number for help outline (TOC).
|
||||||
if has_key(w:, 'qf_toc') || get(w:, 'quickfix_title') =~# '\<TOC$'
|
if has_key(w:, 'qf_toc') || get(w:, 'quickfix_title') =~# '\<TOC$\|\<Table of contents\>'
|
||||||
setlocal conceallevel=3 concealcursor=nc
|
setlocal conceallevel=3 concealcursor=nc
|
||||||
syn match Ignore "^[^|]*|[^|]*| " conceal
|
syn match Ignore "^[^|]*|[^|]*| " conceal
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user