mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +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
|
@ -54,11 +54,11 @@ in {
|
|||
};
|
||||
'';
|
||||
|
||||
navNext = helpers.mkNullOrOption (types.str) ''
|
||||
navNext = helpers.mkNullOrOption types.str ''
|
||||
Keymap for navigating to next mark.";
|
||||
'';
|
||||
|
||||
navPrev = helpers.mkNullOrOption (types.str) ''
|
||||
navPrev = helpers.mkNullOrOption types.str ''
|
||||
Keymap for navigating to previous mark.";
|
||||
'';
|
||||
|
||||
|
@ -171,11 +171,10 @@ in {
|
|||
mark_branch = cfg.markBranch;
|
||||
};
|
||||
|
||||
projects = projects;
|
||||
inherit projects;
|
||||
|
||||
menu = {
|
||||
width = cfg.menu.width;
|
||||
height = cfg.menu.height;
|
||||
inherit (cfg.menu) width height;
|
||||
borderchars = cfg.menu.borderChars;
|
||||
};
|
||||
}
|
||||
|
@ -197,13 +196,14 @@ in {
|
|||
(
|
||||
optionName: luaFunc: let
|
||||
key = km.${optionName};
|
||||
in (mkIf (key != null) {
|
||||
${key} = {
|
||||
action = luaFunc;
|
||||
lua = true;
|
||||
inherit silent;
|
||||
};
|
||||
})
|
||||
in
|
||||
mkIf (key != null) {
|
||||
${key} = {
|
||||
action = luaFunc;
|
||||
lua = true;
|
||||
inherit silent;
|
||||
};
|
||||
}
|
||||
)
|
||||
{
|
||||
addFile = "require('harpoon.mark').add_file";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue