plugins/utils: normalize plugin defaults

This commit is contained in:
Matt Sturgeon 2024-06-11 16:54:57 +01:00
parent b10a391bd0
commit 6ab2a39e6a
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
53 changed files with 1434 additions and 1221 deletions

View file

@ -153,14 +153,14 @@ helpers.neovim-plugin.mkNeovimPlugin config {
Whether to enable automatically on `BufEnter`.
'';
filetypes = helpers.defaultNullOpts.mkListOf types.str "[]" ''
filetypes = helpers.defaultNullOpts.mkListOf types.str [ ] ''
File types for which highlighting is enabled.
It is only used for automatic highlighting by `ccc-option-highlighter-auto-enable`, and is
ignored for manual activation.
An empty table means all file types.
'';
excludes = helpers.defaultNullOpts.mkListOf types.str "[]" ''
excludes = helpers.defaultNullOpts.mkListOf types.str [ ] ''
Used only when `ccc-option-highlighter-filetypes` is empty table.
You can specify file types to be excludes.
'';