robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
9bb046d1be
master
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 11if exists ( "b:current_syntax" ) 12finish 13endif 14 15" Options: -word 16syn keyword exportsKeyOptions contained alldirs nohide ro wsync 17syn keyword exportsKeyOptions contained kerb o rw 18syn match exportsOptError contained "[ a-z ] \+ " 19 20" Settings: word= 21syn keyword exportsKeySettings contained access anon root rw 22syn match exportsSetError contained "[ a-z ] \+ " 23 24" OptSet: -word= 25syn keyword exportsKeyOptSet contained mapall maproot mask network 26syn match exportsOptSetError contained "[ a-z ] \+ " 27 28" options and settings 29syn match exportsSettings "[ a-z ] \+= "contains = exportsKeySettings , exportsSetError 30syn match exportsOptions "- [ a-z ] \+ "contains = exportsKeyOptions , exportsOptError 31syn match exportsOptSet "- [ a-z ] \+= "contains = exportsKeyOptSet , exportsOptSetError 32 33" Separators 34syn match exportsSeparator "[ ,: ] " 35 36" comments 37syn match exportsComment "^\s * #. * $ "contains = @Spell 38 39" Define the default highlighting. 40if ! exists ( "skip_exports_syntax_inits" ) 41 42hi def link exportsKeyOptSet exportsKeySettings 43hi def link exportsOptSet exportsSettings 44 45hi def link exportsComment Comment 46hi def link exportsKeyOptions Type 47hi def link exportsKeySettings Keyword 48hi def link exportsOptions Constant 49hi def link exportsSeparator Constant 50hi def link exportsSettings Constant 51 52hi def link exportsOptError Error 53hi def link exportsOptSetError Error 54hi def link exportsSetError Error 55 56endif 57 58let b: current_syntax = "exports" 59" vim: ts=10