-
-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/cord-nvim: fix formatting in test plugins/cord-nvim: add myself to maintainers plugins/cord-nvim: added luaName Co-authored-by: Austin Horstman <[email protected]> plugins/cord-nvim: added improvements to code Co-authored-by: Austin Horstman <[email protected]> plugins/cord-nvim: fix duplicates and formatting plugins/cord-nvim: cleaned up code Co-authored-by: Gaétan Lepage <[email protected]> plugins/cord-nvim: fixed code and cleanup Co-authored-by: Gaétan Lepage <[email protected]>
- Loading branch information
1 parent
ae78fac
commit 4710861
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
lib, | ||
... | ||
}: | ||
let | ||
inherit (lib.nixvim) defaultNullOpts; | ||
inherit (lib) types; | ||
in | ||
lib.nixvim.neovim-plugin.mkNeovimPlugin { | ||
name = "cord-nvim"; | ||
packPathName = "cord.nvim"; | ||
moduleName = "cord"; | ||
package = "cord-nvim"; | ||
maintainers = [ lib.maintainers.eveeifyeve ]; | ||
|
||
settingsOptions = { | ||
usercmds = defaultNullOpts.mkBool false '' | ||
Enables user commands | ||
''; | ||
|
||
log_level = lib.nixvim.defaultNullOpts.mkLogLevel "error" '' | ||
Log messages at or above this level. | ||
''; | ||
}; | ||
|
||
settingsExample = { | ||
usercmds = false; | ||
log_level = null; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
empty = { | ||
# don't run tests as they try to access the network. | ||
test.runNvim = false; | ||
plugins.cord-nvim.enable = true; | ||
}; | ||
|
||
defaults = { | ||
# don't run tests as they try to access the network. | ||
test.runNvim = true; | ||
plugins.cord-nvim = { | ||
enable = true; | ||
|
||
settings = { | ||
usercmd = false; | ||
log_level = null; | ||
}; | ||
}; | ||
}; | ||
|
||
example = { | ||
# don't run tests as they try to access the network. | ||
test.runNvim = false; | ||
plugins.cord-nvim = { | ||
enable = true; | ||
|
||
settings = { | ||
usercmd = false; | ||
}; | ||
}; | ||
}; | ||
} |