blob: eaeb02a80f13712420f15f4ede41445bb3c51823 [file] [log] [blame]
Bram Moolenaar0dc065e2005-07-04 22:49:24 +00001" Vim syntax file
Bram Moolenaar214641f2017-03-05 17:04:09 +01002" Language: RFC 2614 - An API for Service Location SPI file
3" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
4" Latest Revision: 2006-04-19
Bram Moolenaar0dc065e2005-07-04 22:49:24 +00005
6if exists("b:current_syntax")
7 finish
8endif
9
10let s:cpo_save = &cpo
11set cpo&vim
12
13syn keyword slpspiTodo contained TODO FIXME XXX NOTE
14
15syn region slpspiComment display oneline start='^[#;]' end='$'
16 \ contains=slpspiTodo,@Spell
17
18syn match slpspiBegin display '^'
19 \ nextgroup=slpspiKeyType,
20 \ slpspiComment skipwhite
21
22syn keyword slpspiKeyType contained PRIVATE PUBLIC
23 \ nextgroup=slpspiString skipwhite
24
25syn match slpspiString contained '\S\+'
26 \ nextgroup=slpspiKeyFile skipwhite
27
28syn match slpspiKeyFile contained '\S\+'
29
30hi def link slpspiTodo Todo
31hi def link slpspiComment Comment
32hi def link slpspiKeyType Type
33hi def link slpspiString Identifier
34hi def link slpspiKeyFile String
35
36let b:current_syntax = "slpspi"
37
38let &cpo = s:cpo_save
39unlet s:cpo_save