robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
cbf54ec2a5
master
1" Vim syntax file 2" Language: generic configure file 3" Maintainer: The Vim Project <https://github.com/vim/vim> 4" Last Change: 2023 Aug 10 5" Former Maintainer: Bram Moolenaar <Bram@vim.org> 6 7" Quit when a (custom) syntax file was already loaded 8if exists ( "b:current_syntax" ) 9finish 10endif 11 12syn keyword confTodo contained TODO FIXME XXX 13" Avoid matching "text#text", used in /etc/disktab and /etc/gettytab 14syn match confComment "^#. * "contains = confTodo , @Spell 15syn match confComment "\s#. * "ms= s+1contains = confTodo , @Spell 16syn region confString start = +" +skip = +\\\\\|\\" +end = +" +oneline 17syn region confString start = +' +skip = +\\\\\|\\' +end = +' +oneline 18 19" Define the default highlighting. 20" Only used when an item doesn't have highlighting yet 21hi def link confComment Comment 22hi def link confTodo Todo 23hi def link confString String 24 25let b: current_syntax = "conf" 26 27" vim: ts=8 sw=2