You've already forked vim-logrotate
handle inline scripts better
This commit is contained in:
@ -13,7 +13,7 @@ def LogrotateHelp(msg: string = expand("<cword>"))
|
||||
gawk '/^CONFIGURATION FILE DIRECTIVES/,/^SCRIPTS/' | gawk '
|
||||
/^ {7}%s/,/^[a-z]/ {
|
||||
if(firstLineDone) {
|
||||
if(/^ {7}[^ ]/ || /^[A-Z]/)
|
||||
if(/^ {0,7}[^ ]/ && !/endscript/)
|
||||
exit
|
||||
}
|
||||
firstLineDone = 1
|
||||
|
Reference in New Issue
Block a user