mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 11:44:32 +02:00
Added extra options (#62)
* Added extraOptions helper * project-nvim: added extraOptions
This commit is contained in:
parent
1bd5e97892
commit
90b8a45092
2 changed files with 14 additions and 2 deletions
|
@ -106,6 +106,17 @@ rec {
|
|||
inherit value global;
|
||||
};
|
||||
|
||||
extraOptionsOptions = {
|
||||
extraOptions = mkOption {
|
||||
default = { };
|
||||
type = types.attrs;
|
||||
description = ''
|
||||
These attributes will be added to the table parameter for the setup function.
|
||||
(Can override other attributes set by nixvim)
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
mkRaw = r: { __raw = r; };
|
||||
|
||||
wrapDo = string: ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue