robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Phạm Bình Anrefactor(qf): move syntax code for qf-toc to qf.lua #34879f1babb322b

master
355 B8 linesraw
1--- Hide file name and line number for filetype outline (TOC)
2local w = vim.w
3local qf_toc_title_regex = vim.regex [[\<TOC$\|\<Table of contents\>]]
4if w.qf_toc or (w.quickfix_title and qf_toc_title_regex:match_str(w.quickfix_title)) then
5  vim.wo.conceallevel = 3
6  vim.wo.concealcursor = 'nc'
7  vim.cmd [[syn match Ignore "^[^|]*|[^|]*| " conceal]]
8end