File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
lib ,
3
- helpers ,
4
3
config ,
5
4
pkgs ,
6
5
...
7
6
} :
8
- helpers . neovim-plugin . mkNeovimPlugin config {
7
+ let
8
+ inherit ( lib . nixvim ) defaultNullOpts ;
9
+ in
10
+ lib . nixvim . neovim-plugin . mkNeovimPlugin config {
9
11
name = "my-plugin" ;
10
12
originalName = "my-plugin.nvim" ; # TODO replace (or remove entirely if it is the same as `name`)
11
13
defaultPackage = pkgs . vimPlugins . my-plugin-nvim ; # TODO replace
@@ -14,11 +16,11 @@ helpers.neovim-plugin.mkNeovimPlugin config {
14
16
15
17
# Optionally, explicitly declare some options. You don't have to.
16
18
settingsOptions = {
17
- foo = helpers . defaultNullOpts . mkUnsignedInt 97 ''
19
+ foo = defaultNullOpts . mkUnsignedInt 97 ''
18
20
The best birth year.
19
21
'' ;
20
22
21
- great_feature = helpers . defaultNullOpts . mkBool false ''
23
+ great_feature = defaultNullOpts . mkBool false ''
22
24
Whether to enable the great feature.
23
25
'' ;
24
26
} ;
You can’t perform that action at this time.
0 commit comments