1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-16 06:47:52 +01:00
vim/runtime/syntax/qf.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
892 B
VimL
Raw Permalink Normal View History

2004-06-13 20:20:40 +00:00
" Vim syntax file
" Language: Quickfix window
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2025 Feb 07
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
2004-06-13 20:20:40 +00:00
" Quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
syn match qfFileName "^[^|]*" nextgroup=qfSeparator1
syn match qfSeparator1 "|" contained nextgroup=qfLineNr
syn match qfLineNr "[^|]*" contained nextgroup=qfSeparator2 contains=@qfType
syn match qfSeparator2 "|" contained nextgroup=qfText
syn match qfText ".*" contained
syn match qfError "error" contained
syn cluster qfType contains=qfError
2004-06-13 20:20:40 +00:00
" The default highlighting.
hi def link qfFileName Directory
hi def link qfLineNr LineNr
hi def link qfSeparator1 Delimiter
hi def link qfSeparator2 Delimiter
hi def link qfText Normal
hi def link qfError Error
2004-06-13 20:20:40 +00:00
let b:current_syntax = "qf"
" vim: ts=8