neovim

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

qf.vim (1033B)


      1 " Vim syntax file
      2 " Language:		Quickfix window
      3 " Maintainer:		The Vim Project <https://github.com/vim/vim>
      4 " Last Change:		2026 Jan 31
      5 " Former Maintainer:	Bram Moolenaar <Bram@vim.org>
      6 
      7 " Quit when a syntax file was already loaded
      8 if exists("b:current_syntax")
      9  finish
     10 endif
     11 
     12 syn match	qfFileName	"^[^|]*"	   nextgroup=qfSeparator1
     13 syn match	qfSeparator1	"|"	 contained nextgroup=qfLineNr
     14 syn match	qfLineNr	"[^|]*"	 contained nextgroup=qfSeparator2 contains=@qfType
     15 syn match	qfSeparator2	"|"	 contained nextgroup=qfText
     16 syn match	qfText		".*"	 contained
     17 
     18 syn match	qfError		"error"	  contained
     19 syn match	qfWarning	"warning" contained
     20 syn match	qfNote		"note"    contained
     21 syn match	qfInfo		"info"    contained
     22 syn cluster	qfType		contains=qfError,qfWarning,qfNote,qfInfo
     23 
     24 " The default highlighting.
     25 hi def link qfFileName		Directory
     26 hi def link qfLineNr		LineNr
     27 hi def link qfSeparator1	Delimiter
     28 hi def link qfSeparator2	Delimiter
     29 hi def link qfText		Normal
     30 hi def link qfError		Error
     31 
     32 let b:current_syntax = "qf"
     33 
     34 " vim: ts=8