mirror of
https://github.com/Superredstone/nixvim.git
synced 2026-03-07 20:18:07 +01:00
refactor: run nixfmt-tree and deadnix
This commit is contained in:
@@ -107,7 +107,10 @@
|
|||||||
silent = true;
|
silent = true;
|
||||||
desc = "Go to end line";
|
desc = "Go to end line";
|
||||||
};
|
};
|
||||||
mode = [ "n" "v" ];
|
mode = [
|
||||||
|
"n"
|
||||||
|
"v"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
action = "^";
|
action = "^";
|
||||||
@@ -116,7 +119,10 @@
|
|||||||
silent = true;
|
silent = true;
|
||||||
desc = "Go to start line";
|
desc = "Go to start line";
|
||||||
};
|
};
|
||||||
mode = [ "n" "v" ];
|
mode = [
|
||||||
|
"n"
|
||||||
|
"v"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
action = ":lua Snacks.explorer()<CR>";
|
action = ":lua Snacks.explorer()<CR>";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./comment.nix
|
./comment.nix
|
||||||
|
|||||||
18
flake.nix
18
flake.nix
@@ -6,9 +6,18 @@
|
|||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, nixvim, flake-utils, ... }@inputs:
|
outputs =
|
||||||
let config = import ./config; # import the module directly
|
{
|
||||||
in flake-utils.lib.eachDefaultSystem (system:
|
nixpkgs,
|
||||||
|
nixvim,
|
||||||
|
flake-utils,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
config = import ./config; # import the module directly
|
||||||
|
in
|
||||||
|
flake-utils.lib.eachDefaultSystem (
|
||||||
|
system:
|
||||||
let
|
let
|
||||||
nixvimLib = nixvim.lib.${system};
|
nixvimLib = nixvim.lib.${system};
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
@@ -34,5 +43,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
devShells.default = import ./shell.nix { inherit pkgs; };
|
devShells.default = import ./shell.nix { inherit pkgs; };
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user