chore(nixvim): move installed formatters to consistent option
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
|
||||||
stylua
|
|
||||||
nixfmt-rfc-style
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
opts.formatexpr = "v:lua.require'conform'.formatexpr()";
|
opts.formatexpr = "v:lua.require'conform'.formatexpr()";
|
||||||
|
|
||||||
@@ -48,5 +43,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
stylua
|
||||||
|
nixfmt-rfc-style
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user