mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
3cd56fced4
commit
c4b27080a6
319 changed files with 0 additions and 320 deletions
|
|
@ -85,7 +85,6 @@ A template plugin can be found in (plugins/TEMPLATE.nix)[https://github.com/nix-
|
|||
| **isColorscheme** | Indicating whether the plugin is a colorscheme. | No | `false` |
|
||||
| **moduleName** | The Lua name for the plugin. | No | `name` parameter |
|
||||
| **optionsRenamedToSettings** | Options that have been renamed and move to the `settings` attribute. | No | `[]` |
|
||||
| **packPathName** | The name of the plugin directory in [packpath](https://neovim.io/doc/user/options.html#'packpath'), usually the plugin's github repo name. E.g. `"foo-bar.nvim"`. | No | `name` parameter |
|
||||
| **package** | The nixpkgs package attr for this plugin. Can be a string, a list of strings, a module option, or any derivation. For example, "foo-bar-nvim" for `pkgs.vimPlugins.foo-bar-nvim`, or `[ "hello" "world" ]` will be referenced as `pkgs.hello.world`. | No | `name` parameter |
|
||||
| **settingsDescription** | A description of the settings provided to the `setup` function. | No | `"Options provided to the require('${moduleName}')${setup} function."` |
|
||||
| **settingsExample** | An example configuration for the plugin's settings. See [Writing option examples]. | No | `null` |
|
||||
|
|
@ -147,7 +146,6 @@ Such plugins are usually configured via vim globals, but often have no configura
|
|||
| **imports** | A list of imports for the plugin. | No | `[]` |
|
||||
| **isColorscheme** | Flag to indicate if the plugin is a colorscheme. | No | `false` |
|
||||
| **optionsRenamedToSettings** | List of options renamed to settings. | No | `[]` |
|
||||
| **packPathName** | The name of the plugin directory in [packpath](https://neovim.io/doc/user/options.html#'packpath'), usually the plugin's github repo name. E.g. `"foo-bar.vim"`. | No | `name` parameter |
|
||||
| **package** | The nixpkgs package attr for this plugin. Can be a string, a list of strings, a module option, or any derivation. For example, "foo-bar-vim" for `pkgs.vimPlugins.foo-bar-vim`, or `[ "hello" "world" ]` will be referenced as `pkgs.hello.world`. | No | `name` parameter |
|
||||
| **settingsExample** | Example settings for the plugin. See [Writing option examples]. | No | `null` |
|
||||
| **settingsOptions** | Options representing the plugin's settings. This is optional because `settings` is a "freeform" option. See [Declaring plugin options]. | No | `{}` |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue