mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
perform some statix linting and fixes
This commit is contained in:
parent
eee375e97e
commit
efdcbe225f
57 changed files with 196 additions and 221 deletions
|
@ -47,7 +47,7 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
options.clipboard = mkIf (!isNull cfg.register) cfg.register;
|
||||
options.clipboard = mkIf (cfg.register != null) cfg.register;
|
||||
|
||||
extraPackages =
|
||||
mapAttrsToList
|
||||
|
|
|
@ -60,7 +60,7 @@ with lib; let
|
|||
{
|
||||
action = action;
|
||||
config = {
|
||||
inherit (action) <values of the config options that have been explicitly set by the user>
|
||||
inherit (action) <values of the config options that have been explicitly set by the user>
|
||||
};
|
||||
}
|
||||
*/
|
||||
|
@ -94,8 +94,7 @@ with lib; let
|
|||
normalizedAction = normalizeAction action;
|
||||
in {
|
||||
inherit (normalizedAction) action config;
|
||||
key = key;
|
||||
mode = mode;
|
||||
inherit key mode;
|
||||
})
|
||||
maps);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue