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