27 lines
712 B
Markdown
27 lines
712 B
Markdown
|
|
# 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](LICENSE)
|
||
|
|
file for details.
|