Compare commits
1 commit
329397fc04
...
efc24c74a3
Author | SHA1 | Date | |
---|---|---|---|
efc24c74a3 |
2 changed files with 18 additions and 20 deletions
12
flake.lock
generated
12
flake.lock
generated
|
@ -350,11 +350,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724531977,
|
"lastModified": 1724727824,
|
||||||
"narHash": "sha256-XROVLf9ti4rrNCFLr+DmXRZtPjCQTW4cYy59owTEmxk=",
|
"narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2527da1ef492c495d5391f3bcf9c1dd9f4514e32",
|
"rev": "36bae45077667aff5720e5b3f1a5458f51cf0776",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -383,11 +383,11 @@
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724800090,
|
"lastModified": 1724820329,
|
||||||
"narHash": "sha256-7KxGFZ40pidca5gcdI2weGanfB74yDxrErFNElOZWqA=",
|
"narHash": "sha256-jXaDebjRjcUgZcMNXkvA99s/tTUvZfLLJxLwf1e/qwE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "4814147442cd3f12f8160ecad9e36751f68cdc22",
|
"rev": "70e9532ec290769e4d671747b0f65b1c29a3c14e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -143,20 +143,18 @@ in
|
||||||
# FIXME: doesn't include formatters
|
# FIXME: doesn't include formatters
|
||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
formatters.nixfmt.command = "${lib.getExe pkgs.nixfmt-rfc-style}";
|
||||||
formatters.nixfmt.command = "${lib.getExe pkgs.nixfmt-rfc-style}";
|
formattersByFt = {
|
||||||
formatters_by_ft = {
|
"_" = [ "trim_whitespace" ];
|
||||||
"_" = [ "trim_whitespace" ];
|
c = [ "clang_format" ];
|
||||||
c = [ "clang_format" ];
|
cpp = [ "clang_format" ];
|
||||||
cpp = [ "clang_format" ];
|
lua = [ "stylua" ];
|
||||||
lua = [ "stylua" ];
|
nix = [ "nixfmt" ];
|
||||||
nix = [ "nixfmt" ];
|
rust = [ "rustfmt" ];
|
||||||
rust = [ "rustfmt" ];
|
sh = [ "shfmt" ];
|
||||||
sh = [ "shfmt" ];
|
toml = [ "taplo" ];
|
||||||
toml = [ "taplo" ];
|
yaml = [ "yamlfmt" ];
|
||||||
yaml = [ "yamlfmt" ];
|
zig = [ "zigfmt" ];
|
||||||
zig = [ "zigfmt" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
gitsigns.enable = true;
|
gitsigns.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue