commit 76f6868e0a40d36ac4e87249d6325f5f9c55a397
parent 840cdb9589698f7b247491f789686c8540f2d441
Author: phanium <91544758+phanen@users.noreply.github.com>
Date: Thu, 10 Jul 2025 00:36:10 +0800
fix(runtime): no conceal in qf on :lopen #34854
Problem:
No conceal in qf on `lopen` since 74fcc945. Repro:
nvim --clean +'tab Man ls' +'norm gO' +lclose +lopen
Solution:
Consider "Table of contents" title.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/syntax/qf.vim b/runtime/syntax/qf.vim
@@ -19,7 +19,7 @@ syn match qfError "error" contained
syn cluster qfType contains=qfError
" 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
syn match Ignore "^[^|]*|[^|]*| " conceal
endif