Compare commits

...

3 Commits
v0.1 ... main

2 changed files with 12 additions and 10 deletions

View File

@ -1,11 +1,13 @@
# 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
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"
# Requirements

View File

@ -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