neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

qf.lua (355B)


      1 --- Hide file name and line number for filetype outline (TOC)
      2 local w = vim.w
      3 local qf_toc_title_regex = vim.regex [[\<TOC$\|\<Table of contents\>]]
      4 if 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]]
      8 end