Skip to content

Commit

Permalink
plugins/cord-nvim: added improvements to code
Browse files Browse the repository at this point in the history
Co-authored-by: Austin Horstman <[email protected]>
  • Loading branch information
Eveeifyeve and khaneliman authored Oct 11, 2024
1 parent d9d82e5 commit 9aa69f5
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions plugins/by-name/cord-nvim/default.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
{
lib,
helpers,
...
}:
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "cord-nvim";
originalName = "cord.nvim";
luaName = "cord";
luaName = "cord";
package = "cord-nvim";
maintainers = [ lib.maintainers.eveeifyeve ];

settingsOptions = {
usercmds = helpers.defaultNullOpts.mkBool false ''
usercmds = lib.nixvim.defaultNullOpts.mkBool false ''
Enables user commands
'';

log_level =
helpers.defaultNullOpts.mkEnum
[
"trace"
"debug"
"info"
"warn"
"off"
]
null
''
lib.nixvim.defaultNullOpts.mkLogLevel "error" ''
Log messages at or above this level.
'';
};
Expand Down

0 comments on commit 9aa69f5

Please sign in to comment.