Skip to content

Commit d844c68

Browse files
committed
systemd syntax update
1 parent 22e8083 commit d844c68

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

after/syntax/systemd.vim

Lines changed: 0 additions & 5 deletions
This file was deleted.

pack/systemd/start/vim-systemd-syntax/syntax/systemd.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ syn match sdOctal contained nextgroup=sdErr /0\o\{3,4}/
2828
syn match sdDuration contained nextgroup=sdErr /\d\+/
2929
syn match sdDuration contained nextgroup=sdErr /\%(\d\+\s*\%(usec\|msec\|seconds\=\|minutes\=\|hours\=\|days\=\|weeks\=\|months\=\|years\=\|us\|ms\|sec\|min\|hr\|[smhdwMy]\)\s*\)\+/
3030
syn match sdDatasize contained nextgroup=sdErr /\d\+[KMGT]/
31-
syn match sdFilename contained nextgroup=sdErr /\/\S*/
31+
syn match sdFilename contained nextgroup=sdErr /\%(%h\)\?\/\S*/
3232
syn match sdPercent contained nextgroup=sdErr /\d\+%/
3333
syn keyword sdBool contained nextgroup=sdErr 1 yes true on 0 no false off
3434
syn match sdUnitName contained /\S\+\.\(automount\|mount\|swap\|socket\|service\|target\|path\|timer\|device\|slice\|scope\)\_s/

0 commit comments

Comments
 (0)