Compare commits

...

3 Commits
v0.1 ... main

2 changed files with 12 additions and 10 deletions

View File

@ -1,11 +1,13 @@
# vim-logrotate # 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/*`
![screenshot](https://user-images.githubusercontent.com/189196/210303719-ee2269b9-1e79-48b3-a0cf-7994cb6ca077.png)
# Install # Install
mkdir -p ~/.vim/pack/gitpacks/start/ mkdir -p ~/.vim/pack/gitpacks/start/
git clone https://github.com/balki/vim-logrotate git -C ~/.vim/pack/gitpacks/start clone https://github.com/balki/vim-logrotate
vim +":helptags ALL" +"qa" vim +":helptags ALL" +"qa"
# Requirements # Requirements

View File

@ -20,14 +20,14 @@ runtime! syntax/conf.vim
syntax keyword logRotateKeyword addextension allowhardlink compress compresscmd syntax keyword logRotateKeyword addextension allowhardlink compress compresscmd
\ compressext compressoptions copy copytruncate create createolddir \ compressext compressoptions copy copytruncate create createolddir
\ daily dateext dateformat datehourago dateyesterday delaycompress \ daily dateext dateformat datehourago dateyesterday delaycompress
\ endscript extension firstaction hourly ifempty include lastaction \ endscript extension firstaction hourly ifempty ignoreduplicates
\ mail mailfirst maillast maxage maxsize minage minsize missingok \ include lastaction mail mailfirst maillast maxage maxsize minage
\ monthly noallowhardlink nocompress nocopy nocopytruncate nocreate \ minsize missingok monthly noallowhardlink nocompress nocopy
\ nocreateolddir nodateext nodelaycompress nomail nomissingok \ nocopytruncate nocreate nocreateolddir nodateext nodelaycompress
\ noolddir norenamecopy nosharedscripts noshred notifempty olddir \ nomail nomissingok noolddir norenamecopy nosharedscripts noshred
\ postrotate preremove prerotate renamecopy rotate sharedscripts \ notifempty olddir postrotate preremove prerotate renamecopy
\ shred shredcycles size start su tabooext taboopat uncompresscmd \ rotate sharedscripts shred shredcycles size start su tabooext
\ weekly yearly \ taboopat uncompresscmd weekly yearly
highlight default link logRotateKeyword Keyword highlight default link logRotateKeyword Keyword