summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2011-09-20 10:39:54 -0400
committerWill Woods <wwoods@redhat.com>2011-09-20 10:39:54 -0400
commit6baab2706027a657ab26bdaf0b11d02c0dfe57bc (patch)
tree58260d5d49e6880f4617ed084451e1333841f955
parent18cb5b2147dcf40040bd0ffb32f3cdc875ee4f8b (diff)
downloadvim-scripts-6baab2706027a657ab26bdaf0b11d02c0dfe57bc.tar.gz
vim-scripts-6baab2706027a657ab26bdaf0b11d02c0dfe57bc.tar.xz
vim-scripts-6baab2706027a657ab26bdaf0b11d02c0dfe57bc.zip
change sdFilename to /\S* to make '/' valid
-rw-r--r--syntax/systemd.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/systemd.vim b/syntax/systemd.vim
index 917fa9f..95821b5 100644
--- a/syntax/systemd.vim
+++ b/syntax/systemd.vim
@@ -27,7 +27,7 @@ syn match sdOctal contained nextgroup=sdErr /0\o\{3,4}/
syn match sdDuration contained nextgroup=sdErr /\d\+/
syn match sdDuration contained nextgroup=sdErr /\%(\d\+\%(s\|min\|h\|d\|w\|ms\|us\)\s*\)\+/
syn match sdDatasize contained nextgroup=sdErr /\d\+[KMGT]/
-syn match sdFilename contained nextgroup=sdErr /\/\S\+/
+syn match sdFilename contained nextgroup=sdErr /\/\S*/
syn keyword sdBool contained nextgroup=sdErr 1 yes true on 0 no false off
syn match sdUnitName contained /\S\+\.\(automount\|mount\|swap\|socket\|service\|target\|path\|timer\|device\)\_s/