mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
a98a6996c2
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
38 lines
1.7 KiB
VimL
38 lines
1.7 KiB
VimL
" Vim syntax file
|
|
" Language: Mallard
|
|
" Maintainer: Jaromir Hradilek <jhradilek@gmail.com>
|
|
" URL: https://github.com/jhradilek/vim-syntax
|
|
" Last Change: 11 February 2013
|
|
" Description: A syntax file for the Mallard markup language according to
|
|
" Mallard 1.0 DRAFT as of 2013-02-11.
|
|
|
|
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
do Syntax xml
|
|
syn cluster xmlTagHook add=mallardTagName
|
|
syn spell toplevel
|
|
syn case match
|
|
|
|
syn keyword mallardTagName app cite cmd code col colgroup comment contained
|
|
syn keyword mallardTagName credit desc em email example figure contained
|
|
syn keyword mallardTagName file gui guiseq info input item key contained
|
|
syn keyword mallardTagName keyseq license link links list listing contained
|
|
syn keyword mallardTagName media name note output p page quote contained
|
|
syn keyword mallardTagName revision screen section span steps contained
|
|
syn keyword mallardTagName subtitle synopsis sys table tbody td contained
|
|
syn keyword mallardTagName terms tfoot thead title tr tree var contained
|
|
syn keyword mallardTagName years contained
|
|
|
|
syn region mallardComment start="<comment\>" end="</comment>"me=e-10 contains=xmlTag,xmlNamespace,xmlTagName,xmlEndTag,xmlRegion,xmlEntity,@Spell keepend
|
|
syn region mallardEmphasis start="<em\>" end="</em>"me=e-5 contains=xmlTag,xmlNamespace,xmlTagName,xmlEndTag,xmlRegion,xmlEntity,@Spell keepend
|
|
syn region mallardTitle start="<title\>" end="</title>"me=e-8 contains=xmlTag,xmlNamespace,xmlTagName,xmlEndTag,xmlRegion,xmlEntity,@Spell keepend
|
|
|
|
hi def link mallardComment Comment
|
|
hi def link mallardTagName Statement
|
|
hi def link mallardTitle Title
|
|
hi def mallardEmphasis term=italic cterm=italic gui=italic
|
|
|
|
let b:current_syntax = "mallard"
|