mdformat: add --number -> 1,2,3,4 to 1,1,1,1 is a good idea right?
This commit is contained in:
parent
5ed1986caa
commit
a8377b6dcc
3 changed files with 9 additions and 7 deletions
|
|
@ -12,5 +12,8 @@
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
GOPATH = "$HOME/.go";
|
GOPATH = "$HOME/.go";
|
||||||
|
FLAKE = "home/dashie/gits/dotFiles/nix";
|
||||||
|
# don't ask... marksman somehow requires this
|
||||||
|
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = 1;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -101,12 +101,6 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
home.sessionVariables =
|
|
||||||
{
|
|
||||||
FLAKE = "home/dashie/gits/dotFiles/nix";
|
|
||||||
# don't ask... marksman somehow requires this
|
|
||||||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
gnupg = {
|
gnupg = {
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,12 @@ return {
|
||||||
require("conform").format({ async = true, lsp_fallback = true })
|
require("conform").format({ async = true, lsp_fallback = true })
|
||||||
end,
|
end,
|
||||||
mode = "",
|
mode = "",
|
||||||
desc = "Format buffer",
|
numberdesc = "Format buffer",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
formatters = {
|
||||||
|
mdformat = {
|
||||||
|
prepend_args = { "--number" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue