From 8018d0a2f774e0d3b4c68a6003198ecd578c9eb4 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Tue, 3 Jan 2023 00:17:06 -0500 Subject: [PATCH] Add new directive --- README.md | 2 +- syntax/logrotate.vim | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6d08115..a025ead 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vim-logrotate -Syntax and help for logrotate config files in /etc/logrotate.d/* +Syntax and help for [logrotate](https://github.com/logrotate/logrotate) config files in `/etc/logrotate.d/*` # Install diff --git a/syntax/logrotate.vim b/syntax/logrotate.vim index 754452f..05ecbf6 100644 --- a/syntax/logrotate.vim +++ b/syntax/logrotate.vim @@ -20,14 +20,14 @@ runtime! syntax/conf.vim syntax keyword logRotateKeyword addextension allowhardlink compress compresscmd \ compressext compressoptions copy copytruncate create createolddir \ daily dateext dateformat datehourago dateyesterday delaycompress - \ endscript extension firstaction hourly ifempty include lastaction - \ mail mailfirst maillast maxage maxsize minage minsize missingok - \ monthly noallowhardlink nocompress nocopy nocopytruncate nocreate - \ nocreateolddir nodateext nodelaycompress nomail nomissingok - \ noolddir norenamecopy nosharedscripts noshred notifempty olddir - \ postrotate preremove prerotate renamecopy rotate sharedscripts - \ shred shredcycles size start su tabooext taboopat uncompresscmd - \ weekly yearly + \ endscript extension firstaction hourly ifempty ignoreduplicates + \ include lastaction mail mailfirst maillast maxage maxsize minage + \ minsize missingok monthly noallowhardlink nocompress nocopy + \ nocopytruncate nocreate nocreateolddir nodateext nodelaycompress + \ nomail nomissingok noolddir norenamecopy nosharedscripts noshred + \ notifempty olddir postrotate preremove prerotate renamecopy + \ rotate sharedscripts shred shredcycles size start su tabooext + \ taboopat uncompresscmd weekly yearly highlight default link logRotateKeyword Keyword