Skip to content

DrKJeff16/vim-eof-comment

Repository files navigation

vim-eof-comment

GitHub Repo starsGitHub Release

PyPI Package | Source Code

Ensure Vim EOF comments in given files.


About

This tool adds a Vim modeline comment at the end of the target files.


Install

pip install vim-eof-comment

Usage

General usage is as follows:

vim-eof-comment [-h] [-v] [-V] -e EXT1[,EXT2[,EXT3[,...]]] [-i EXT1:INDENT[:Y/N][,...]] [-n] dir1 [dir2 [...]]

You can also call it as a module:

python -m vim_eof_comment [-h] [-v] [-V] -e EXT1[,EXT2[,EXT3[,...]]] [-i EXT1:INDENT[:Y/N][,...]] [-n] dir1 [dir2 [...]]

Example

vim-eof-comment -e py,md,lua .

License

GNU GPL-v2.0