diff options
author | Will Woods <wwoods@redhat.com> | 2013-04-03 12:57:20 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2013-04-03 12:57:49 -0400 |
commit | ff6c8d9cd8f30e46aa989063c0cfb446fbdedc65 (patch) | |
tree | 58404828098944f64ba21966691860d740cf9f50 | |
parent | 100fdc49a4906bb984787bf501317973920dd095 (diff) | |
download | vim-scripts-ff6c8d9cd8f30e46aa989063c0cfb446fbdedc65.tar.gz vim-scripts-ff6c8d9cd8f30e46aa989063c0cfb446fbdedc65.tar.xz vim-scripts-ff6c8d9cd8f30e46aa989063c0cfb446fbdedc65.zip |
syntax/systemd: ConditionNull= takes a boolean
-rw-r--r-- | syntax/systemd.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/systemd.vim b/syntax/systemd.vim index b22dc52..2de01c2 100644 --- a/syntax/systemd.vim +++ b/syntax/systemd.vim @@ -49,7 +49,8 @@ syn match sdUnitKey contained /^JobTimeoutSec=/ nextgroup=sdDuration,sdErr syn match sdUnitKey contained /^Condition\(PathExists\|PathExistsGlob\|PathIsDirectory\|PathIsMountPoint\|PathIsReadWrite\|PathIsSymbolicLink\|DirectoryNotEmpty\|FileNotEmpty\|FileIsExecutable\)=|\=!\=/ contains=sdConditionFlag nextgroup=sdFilename,sdErr syn match sdUnitKey contained /^ConditionVirtualization=|\=!\=/ contains=sdConditionFlag nextgroup=sdVirtType,sdErr syn match sdUnitKey contained /^ConditionSecurity=|\=!\=/ contains=sdConditionFlag nextgroup=sdSecurityType,sdErr -syn match sdUnitKey contained /^Condition\(KernelCommandLine\|Null\)=|\=!\=/ contains=sdConditionFlag +syn match sdUnitKey contained /^ConditionKernelCommandLine=|\=!\=/ contains=sdConditionFlag +syn match sdUnitKey contained /^ConditionNull=|\=/ contains=sdConditionFlag nextgroup=sdBool,sdErr syn match sdUnitList contained /.*/ contains=sdUnitName,sdErr syn match sdConditionFlag contained /[!|]/ syn keyword sdVirtType contained nextgroup=sdErr vm container qemu kvm vmware microsoft oracle xen bochs chroot openvz lxc lxc-libvirt systemd-nspawn |