modules: vale init
This commit is contained in:
parent
46cf664bb5
commit
f55e861fdd
6 changed files with 160 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./bat.nix
|
||||
./vale.nix
|
||||
./networking.nix
|
||||
./btop.nix
|
||||
./git.nix
|
||||
|
|
|
|||
29
modules/home/console/tools/vale.nix
Normal file
29
modules/home/console/tools/vale.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{self, ...}: {
|
||||
imports = [
|
||||
self.homeManagerModules.vale
|
||||
];
|
||||
programs.vale = {
|
||||
enable = true;
|
||||
styles = [
|
||||
"microsoft"
|
||||
"write-good"
|
||||
"alex"
|
||||
"readability"
|
||||
"proselint"
|
||||
];
|
||||
globalSettings = {
|
||||
MinAlertLevel = "suggestion";
|
||||
};
|
||||
formatSettings = {
|
||||
"*.{md,txt,tex}" = {
|
||||
BasedOnStyles = [
|
||||
"proselint"
|
||||
"alex"
|
||||
"Readability"
|
||||
"Microsoft"
|
||||
];
|
||||
"Microsoft.Acronyms" = "NO";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue