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