robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
94c21c22dc
master
1" Vim syntax file 2" Language: env 3" Maintainer: DuckAfire <duckafire@gmail.com> 4" Last Change: 2026 Jan 27 5" Version: 2 6" Changelog: 7" 0. Create syntax file. 8" 1. Remove unused variable (g:main_syntax). 9" 2. Apply changes required by github@dkearns 10 11if exists ( "b:current_syntax" ) 12finish 13endif 14 15syn match envField nextgroup = envValue /^\h\%(\w\|\.\) * / 16syn region envValue matchgroup = Operator start = /= /end = /$ / 17syn match envComment contains = envTodo ,envTitles /^#. * $/ 18syn keyword envTodo contained CAUTION NOTE TODO WARN WARNING 19syn match envTitle contained /^\s * #\s * \zs [ A-Z0-9 ][ A-Z0-9 ] * : / 20 21hi def link envField Identifier 22hi def link envValue String 23hi def link envComment Comment 24hi def link envTodo Todo 25hi def link envTitle PreProc 26 27let b: current_syntax = "env" 28