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