Go to file
2023-01-03 00:17:06 -05:00
autoload move function to autoload 2022-11-01 22:44:06 -04:00
doc Add documentation 2022-12-30 23:11:32 -05:00
ftdetect check for gawk and cleanup comments 2022-10-27 13:53:24 -04:00
ftplugin Add documentation 2022-12-30 23:11:32 -05:00
syntax Add new directive 2023-01-03 00:17:06 -05:00
.gitignore Add documentation 2022-12-30 23:11:32 -05:00
README.md Add new directive 2023-01-03 00:17:06 -05:00

vim-logrotate

Syntax and help for logrotate config files in /etc/logrotate.d/*

Install

mkdir -p ~/.vim/pack/gitpacks/start/
git -C ~/.vim/pack/gitpacks/start clone https://github.com/balki/vim-logrotate
vim +":helptags ALL" +"qa"

Requirements

  1. Vim installation that includes patch-8.2.4770. (Works in Ubuntu 22.10)
  2. gawk installed. See g:logrotate_awk config option to use a different awk