cleanup and add FIXME

This commit is contained in:
2022-10-27 17:07:37 -04:00
parent 23f344fb75
commit 714801b466
2 changed files with 9 additions and 3 deletions

View File

@ -8,6 +8,10 @@ endif
syntax include @logRotateSh syntax/sh.vim
unlet b:current_syntax
" FIXME:
" Whitespace is not required in actual config,
" But vim syntax region does not work if start pattern is also a keyword
" Hence added \s* below
syntax region logRotateScript matchgroup=logRotateKeyword start="\s*\<\%(firstaction\|lastaction\|prerotate\|postrotate\|preremove\)\>" end="\<endscript\>" contains=@logRotateSh
" for comments, todo, string