aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2021-05-29 11:16:10 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2021-05-29 12:53:27 +0200
commit51469caa0935293ea6096d8209bcf57b59b77dab (patch)
tree84e9a561f6c7a61b0ef803c7b56921228609a0cf /contrib
parentvim: update list of syscalls (diff)
downloadfirejail-51469caa0935293ea6096d8209bcf57b59b77dab.tar.gz
firejail-51469caa0935293ea6096d8209bcf57b59b77dab.tar.zst
firejail-51469caa0935293ea6096d8209bcf57b59b77dab.zip
vim: highlight seccomp-error-action
Diffstat (limited to 'contrib')
-rw-r--r--contrib/vim/syntax/firejail.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/vim/syntax/firejail.vim b/contrib/vim/syntax/firejail.vim
index e1bd3d7a8..e0a9520a5 100644
--- a/contrib/vim/syntax/firejail.vim
+++ b/contrib/vim/syntax/firejail.vim
@@ -33,6 +33,7 @@ syn match fjSyscallErrno /\v(:(E2BIG|EACCES|EADDRINUSE|EADDRNOTAVAIL|EADV|EAFNOS
33syn match fjSyscallList /,/ nextgroup=fjSyscall contained 33syn match fjSyscallList /,/ nextgroup=fjSyscall contained
34 34
35syn keyword fjX11Sandbox none xephyr xorg xpra xvfb contained 35syn keyword fjX11Sandbox none xephyr xorg xpra xvfb contained
36syn keyword fjSeccompAction kill log ERRNO contained
36 37
37syn match fjEnvVar "[A-Za-z0-9_]\+=" contained 38syn match fjEnvVar "[A-Za-z0-9_]\+=" contained
38syn match fjRmenvVar "[A-Za-z0-9_]\+" contained 39syn match fjRmenvVar "[A-Za-z0-9_]\+" contained
@@ -61,6 +62,7 @@ syn match fjCommand /rmenv / nextgroup=fjRmenvVar skipwhite contained
61syn match fjCommand /shell / nextgroup=fjNone skipwhite contained 62syn match fjCommand /shell / nextgroup=fjNone skipwhite contained
62syn match fjCommand /net / nextgroup=fjNone,fjLo skipwhite contained 63syn match fjCommand /net / nextgroup=fjNone,fjLo skipwhite contained
63syn match fjCommand /ip / nextgroup=fjNone skipwhite contained 64syn match fjCommand /ip / nextgroup=fjNone skipwhite contained
65syn match fjCommand /seccomp-error-action / nextgroup=fjSeccompAction skipwhite contained
64" Commands that can't be inside a ?CONDITIONAL: statement 66" Commands that can't be inside a ?CONDITIONAL: statement
65syn match fjCommandNoCond /include / skipwhite contained 67syn match fjCommandNoCond /include / skipwhite contained
66syn match fjCommandNoCond /quiet$/ contained 68syn match fjCommandNoCond /quiet$/ contained
@@ -88,6 +90,7 @@ hi def link fjRmenvVar Type
88hi def link fjAll Type 90hi def link fjAll Type
89hi def link fjNone Type 91hi def link fjNone Type
90hi def link fjLo Type 92hi def link fjLo Type
93hi def link fjSeccompAction Constant
91 94
92 95
93let b:current_syntax = "firejail" 96let b:current_syntax = "firejail"