Mercurial > vim
view runtime/syntax/mailcap.vim @ 20729:ada6f26e6eb1 v8.2.0917
patch 8.2.0917: quickfix entries do not suport a "note" type
Commit: https://github.com/vim/vim/commit/e928366de5deca359fad779a4f740db703296302
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 14:10:47 2020 +0200
patch 8.2.0917: quickfix entries do not suport a "note" type
Problem: Quickfix entries do not suport a "note" type.
Solution: Add support for "note". (partly by Yegappan Lakshmanan,
closes #5527, closes #6216)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 14:15:04 +0200 |
parents | 42bf9264e64e |
children |
line wrap: on
line source
" Vim syntax file " Language: Mailcap configuration file " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2013 Jun 01 if exists("b:current_syntax") finish endif syn match mailcapComment "^#.*" syn region mailcapString start=+"+ end=+"+ contains=mailcapSpecial oneline syn match mailcapDelimiter "\\\@<!;" syn match mailcapSpecial "\\\@<!%[nstF]" syn match mailcapSpecial "\\\@<!%{[^}]*}" syn case ignore syn match mailcapFlag "\(=\s*\)\@<!\<\(needsterminal\|copiousoutput\|x-\w\+\)\>" syn match mailcapFieldname "\<\(compose\|composetyped\|print\|edit\|test\|x11-bitmap\|nametemplate\|textualnewlines\|description\|x-\w+\)\>\ze\s*=" syn match mailcapTypeField "^\(text\|image\|audio\|video\|application\|message\|multipart\|model\|x-[[:graph:]]\+\)\(/\(\*\|[[:graph:]]\+\)\)\=\ze\s*;" syn case match hi def link mailcapComment Comment hi def link mailcapDelimiter Delimiter hi def link mailcapFlag Statement hi def link mailcapFieldname Statement hi def link mailcapSpecial Identifier hi def link mailcapTypeField Type hi def link mailcapString String let b:current_syntax = "mailcap" " vim: ts=8