diff options
author | Will Woods <wwoods@redhat.com> | 2013-04-03 13:14:25 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2013-04-03 13:14:25 -0400 |
commit | 0ef04313e7a8e3818bc5e71dd7beeeb1fa721265 (patch) | |
tree | 2bf03b87a4dc35b6f6f4239d4c63ddc2189eaef9 | |
parent | f0344300f5702a2b18d2c6e984382a99d52ae0ff (diff) | |
download | vim-scripts-0ef04313e7a8e3818bc5e71dd7beeeb1fa721265.tar.gz vim-scripts-0ef04313e7a8e3818bc5e71dd7beeeb1fa721265.tar.xz vim-scripts-0ef04313e7a8e3818bc5e71dd7beeeb1fa721265.zip |
syntax/systemd: Add some requirements, fix BindTo
Added:
BindsTo=
PartOf=
PropagatesReloadTo=
ReloadPropagatedFrom=
-rw-r--r-- | syntax/systemd.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/systemd.vim b/syntax/systemd.vim index 4f73c46..90f2e05 100644 --- a/syntax/systemd.vim +++ b/syntax/systemd.vim @@ -44,7 +44,7 @@ syn region sdUnitBlock matchgroup=sdHeader start=/^\[Unit\]/ end=/^\[/me=e-2 con syn match sdUnitKey contained /^Description=/ syn match sdUnitKey contained /^Documentation=/ nextgroup=sdDocURI syn match sdUnitKey contained /^SourcePath=/ nextgroup=sdFilename,sdErr -syn match sdUnitKey contained /^\%(Requires\|RequiresOverridable\|Requisite\|RequisiteOverridable\|Wants\|BindTo\|Conflicts\|Before\|After\|OnFailure\|Names\)=/ nextgroup=sdUnitList +syn match sdUnitKey contained /^\%(Requires\|RequiresOverridable\|Requisite\|RequisiteOverridable\|Wants\|BindsTo\|PartOf\|Conflicts\|Before\|After\|OnFailure\|Names|PropagatesReloadTo\|ReloadPropagatedFrom\)=/ nextgroup=sdUnitList syn match sdUnitKey contained /^\%(OnFailureIsolate\|IgnoreOnIsolate\|IgnoreOnSnapshot\|StopWhenUnneeded\|RefuseManualStart\|RefuseManualStop\|AllowIsolate\|DefaultDependencies\)=/ nextgroup=sdBool,sdErr syn match sdUnitKey contained /^JobTimeoutSec=/ nextgroup=sdDuration,sdErr " ConditionXXX. Note that they all have an optional '|' after the '=' |