exports.vim (1792B)
1 " Vim syntax file 2 " Language: exports 3 " Maintainer: This runtime file is looking for a new maintainer. 4 " Former Maintainer: Charles E. Campbell 5 " Last Change: Aug 31, 2016 6 " Version: 8 7 " Notes: This file includes both SysV and BSD 'isms 8 " Former URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_EXPORTS 9 10 " quit when a syntax file was already loaded 11 if exists("b:current_syntax") 12 finish 13 endif 14 15 " Options: -word 16 syn keyword exportsKeyOptions contained alldirs nohide ro wsync 17 syn keyword exportsKeyOptions contained kerb o rw 18 syn match exportsOptError contained "[a-z]\+" 19 20 " Settings: word= 21 syn keyword exportsKeySettings contained access anon root rw 22 syn match exportsSetError contained "[a-z]\+" 23 24 " OptSet: -word= 25 syn keyword exportsKeyOptSet contained mapall maproot mask network 26 syn match exportsOptSetError contained "[a-z]\+" 27 28 " options and settings 29 syn match exportsSettings "[a-z]\+=" contains=exportsKeySettings,exportsSetError 30 syn match exportsOptions "-[a-z]\+" contains=exportsKeyOptions,exportsOptError 31 syn match exportsOptSet "-[a-z]\+=" contains=exportsKeyOptSet,exportsOptSetError 32 33 " Separators 34 syn match exportsSeparator "[,:]" 35 36 " comments 37 syn match exportsComment "^\s*#.*$" contains=@Spell 38 39 " Define the default highlighting. 40 if !exists("skip_exports_syntax_inits") 41 42 hi def link exportsKeyOptSet exportsKeySettings 43 hi def link exportsOptSet exportsSettings 44 45 hi def link exportsComment Comment 46 hi def link exportsKeyOptions Type 47 hi def link exportsKeySettings Keyword 48 hi def link exportsOptions Constant 49 hi def link exportsSeparator Constant 50 hi def link exportsSettings Constant 51 52 hi def link exportsOptError Error 53 hi def link exportsOptSetError Error 54 hi def link exportsSetError Error 55 56 endif 57 58 let b:current_syntax = "exports" 59 " vim: ts=10