nortega 5ffa6315de Add empty line for whitespace-only comment markers
When a license header line is empty and comment_style.middle
contains only whitespace characters, add a truly empty line
instead of the whitespace-only marker. This improves the
formatting of license headers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-10 16:07:44 +02:00
2026-07-10 16:02:01 +02:00
2026-07-10 14:58:05 +02:00
2026-07-10 14:58:05 +02:00

vim-licenser

A plugin for Vim and NeoVim that helps you add license headers to your source code files.

Usage

You can add a license header to your source file by running the following command in Vim or NeoVim:

:Licenser <license>

Adding New Licenses

To add a new license, create a new file in the licenses directory with the name of the license (e.g., MIT.txt) and add the license text to the file. The license text can contain the YEAR and AUTHOR placeholders, which will be replaced with the current year and the author name when the license header is added to the source file.

License

This project is licensed under the Zlib License. See the LICENSE file for details.

S
Description
Plugin to easily add license headers to source-code files.
Readme Zlib 51 KiB
Languages
Vim Script 100%