aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-03 00:48:51 +0000
committerChristian Ruppert <idl0r@gentoo.org>2012-01-03 00:48:51 +0000
commit9753ebc2e5ebd771efed64c5b9f0d18d033b213b (patch)
treeb71a16629f5bae4113eb355c09a0cdefdc565a2a /syntax/gentoo-init-d.vim
parentMake bad space checks global (diff)
downloadgentoo-syntax-9753ebc2e5ebd771efed64c5b9f0d18d033b213b.tar.gz
gentoo-syntax-9753ebc2e5ebd771efed64c5b9f0d18d033b213b.tar.bz2
gentoo-syntax-9753ebc2e5ebd771efed64c5b9f0d18d033b213b.zip
More OpenRC keywords and functions
svn path=/trunk/gentoo-syntax/; revision=81
Diffstat (limited to 'syntax/gentoo-init-d.vim')
-rw-r--r--syntax/gentoo-init-d.vim19
1 files changed, 15 insertions, 4 deletions
diff --git a/syntax/gentoo-init-d.vim b/syntax/gentoo-init-d.vim
index cf4443e..4a41832 100644
--- a/syntax/gentoo-init-d.vim
+++ b/syntax/gentoo-init-d.vim
@@ -24,10 +24,21 @@ unlet b:current_syntax
runtime syntax/gentoo-common.vim
syn cluster shCommentGroup add=GentooBug
-syn keyword GentooInitDKeyword need use provide before after ebegin eend einfo
-syn keyword GentooInitDKeyword ewarn eerror
-
-syn keyword GentooInitDFunc start stop reload restart usage zap depend
+syn keyword GentooInitDKeyword config need use before after provide keyword
+syn keyword GentooInitDKeyword ebegin vebegin eend veend ewend vewend
+syn keyword GentooInitDKeyword einfo veinfo ewarn vewarn eerror veerror
+syn keyword GentooInitDKeyword ewaitfile is_newer_than is_older_than
+syn keyword GentooInitDKeyword service_set_value service_get_value
+syn keyword GentooInitDKeyword service_started service_starting service_inactive
+syn keyword GentooInitDKeyword service_stopping service_stopped service_coldplugged
+syn keyword GentooInitDKeyword service_wasinactive service_started_daemon
+syn keyword GentooInitDKeyword mark_service_started mark_service_starting
+syn keyword GentooInitDKeyword mark_service_inactive mark_service_stopping
+syn keyword GentooInitDKeyword mark_service_stopped mark_service_coldplugged
+syn keyword GentooInitDKeyword mark_service_wasinactive checkpath yesno
+
+syn keyword GentooInitDFunc describe start_pre start start_post stop_pre stop stop_post
+syn keyword GentooInitDFunc reload restart status usage zap depend
syn cluster shCommandSubList add=GentooInitDKeyword