annotate runtime/syntax/udevperm.vim @ 32597:015cfc6bba2a v9.0.1630

patch 9.0.1630: "make clean" at the toplevel fails Commit: https://github.com/vim/vim/commit/8d687a7424b33b7ad7f6778b0c5d092a44f4bc3a Author: Ben Jackson <puremourning@gmail.com> Date: Wed Jun 14 15:10:02 2023 +0100 patch 9.0.1630: "make clean" at the toplevel fails Problem: "make clean" at the toplevel fails. Solution: Clean the indent and syntax directories in a sub-shell. (Ben Jackson, closes #12536, closes #12526)
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Jun 2023 16:15:03 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: udev(8) permissions file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
4 " Latest Revision: 2006-04-19
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
5
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
7 finish
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
8 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
9
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
11 set cpo&vim
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
12
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
13 syn match udevpermBegin display '^' nextgroup=udevpermDevice
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
14
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
15 syn match udevpermDevice contained display '[^:]\+'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
16 \ contains=udevpermPattern
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
17 \ nextgroup=udevpermUserColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
18
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
19 syn match udevpermPattern contained '[*?]'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
20 syn region udevpermPattern contained start='\[!\=' end='\]'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
21 \ contains=udevpermPatRange
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
22
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
23 syn match udevpermPatRange contained '[^[-]-[^]-]'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
24
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
25 syn match udevpermUserColon contained display ':'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
26 \ nextgroup=udevpermUser
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
27
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
28 syn match udevpermUser contained display '[^:]\+'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
29 \ nextgroup=udevpermGroupColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
30
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
31 syn match udevpermGroupColon contained display ':'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
32 \ nextgroup=udevpermGroup
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
33
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
34 syn match udevpermGroup contained display '[^:]\+'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
35 \ nextgroup=udevpermPermColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
36
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
37 syn match udevpermPermColon contained display ':'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
38 \ nextgroup=udevpermPerm
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
39
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
40 syn match udevpermPerm contained display '\<0\=\o\+\>'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
41 \ contains=udevpermOctalZero
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
42
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
43 syn match udevpermOctalZero contained display '\<0'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
44 syn match udevpermOctalError contained display '\<0\o*[89]\d*\>'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
45
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
46 syn keyword udevpermTodo contained TODO FIXME XXX NOTE
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
47
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
48 syn region udevpermComment display oneline start='^\s*#' end='$'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
49 \ contains=udevpermTodo,@Spell
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
50
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
51 hi def link udevpermTodo Todo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
52 hi def link udevpermComment Comment
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
53 hi def link udevpermDevice String
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
54 hi def link udevpermPattern SpecialChar
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
55 hi def link udevpermPatRange udevpermPattern
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
56 hi def link udevpermColon Normal
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
57 hi def link udevpermUserColon udevpermColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
58 hi def link udevpermUser Identifier
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
59 hi def link udevpermGroupColon udevpermColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
60 hi def link udevpermGroup Type
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
61 hi def link udevpermPermColon udevpermColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
62 hi def link udevpermPerm Number
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
63 hi def link udevpermOctalZero PreProc
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
64 hi def link udevpermOctalError Error
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
65
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
66 let b:current_syntax = "udevperm"
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
67
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
68 let &cpo = s:cpo_save
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
69 unlet s:cpo_save