6 Commits
Author SHA1 Message Date
nortega f40d9f81ea Add support for plain text. 2026-07-13 13:10:02 +02:00
nortega e6087ae1b0 Add CMake support. 2026-07-13 06:43:45 +00:00
nortegaandCopilot 1ec3b5492f Fix plugin directory resolution for plugin managers
Use resolve() to properly handle symbolic links when determining
the plugin installation directory. Add fallback to search in
&runtimepath if the licenses directory is not found in the
primary location.

This fixes issues when the plugin is installed via plugin managers
like vim-plug, packer.nvim, lazy.nvim, etc., where the plugin
directory may not be directly relative to the working directory.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-10 16:45:42 +02:00
nortegaandCopilot 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
nortegaandCopilot 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 880c4a5c00 Add plugin code. 2026-07-10 16:01:29 +02:00