robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Anakin Childerhosevim-patch:9.2.0235: filetype: wks files are not recognized (#38451)1de1c08210

master
718 B29 linesraw
1" Vim syntax file
2" Language:	OpenEmbedded Image Creator (WIC) Kickstarter files wks
3" Maintainer:	Anakin Childerhose <anakin@childerhose.ca>
4" Last Change:	2026 Mar 23
5
6if exists("b:current_syntax")
7  finish
8endif
9
10let s:cpo_save = &cpo
11set cpo&vim
12
13syn case match
14
15syn match wksComment "#.*$"
16syn match wksCommand "\<bootloader\>"
17syn match wksCommand "\<\(part\|partition\)\>" skipwhite nextgroup=wksMountPoint
18syn match wksMountPoint "\(/[^ \t]*\|swap\)" contained
19
20syn match wksOption "--[a-zA-Z_-]\+"
21
22hi def link wksComment    Comment
23hi def link wksCommand    Statement
24hi def link wksMountPoint Identifier
25hi def link wksOption     Special
26
27let b:current_syntax = "wks"
28let &cpo = s:cpo_save
29unlet s:cpo_save