Commit Graph

7 Commits

Author SHA1 Message Date
nortega 5e4cf24d95 Add Vim documentation for licenser plugin
Add comprehensive help documentation including:
- Introduction and overview
- Usage of :Licenser command
- Configuration options (g:licenser_author)
- Complete list of supported filetypes
- Complete list of supported licenses
- Usage examples

Documentation follows standard Vim help format and can be
accessed with :help licenser once the plugin is installed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-10 16:14:42 +02:00
nortega 095b9b2f82 Add popular open-source license templates
Add eight license templates:
- Apache2.txt: Apache License 2.0
- BSD2.txt: BSD 2-Clause License
- BSD3.txt: BSD 3-Clause License
- GPLv2.txt: GNU General Public License v2
- ISC.txt: ISC License
- LGPL.txt: GNU Lesser General Public License v3
- MIT0.txt: MIT No Attribution License (0-Clause MIT)
- MPL2.txt: Mozilla Public License v2.0
- Unlicense.txt: Unlicense (public domain)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-10 16:12:27 +02:00
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
nortega 9a05e38d38 Add support for more programming languages
Expand comment_styles with additional commonly used languages:
- C#, CSS, Dart, Groovy, Haskell
- JSON, Kotlin, MATLAB, Perl, PHP, R
- Scala, SQL, Swift, TypeScript React, YAML

Languages are now organized alphabetically for easier maintenance.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-10 16:04:36 +02:00
nortega 0c28292f56 Add some licenses. 2026-07-10 16:02:01 +02:00
nortega 880c4a5c00 Add plugin code. 2026-07-10 16:01:29 +02:00
nortega d5b86d5f74 Initial commit. 2026-07-10 14:58:05 +02:00