mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
docs: flypy - user customized words, fix typos
This commit is contained in:
13
.typos.toml
13
.typos.toml
@@ -1,10 +1,21 @@
|
|||||||
[files]
|
[files]
|
||||||
|
# Respect .ignore files.
|
||||||
ignore-dot = true
|
ignore-dot = true
|
||||||
|
# Respect ignore files.
|
||||||
ignore-files = true
|
ignore-files = true
|
||||||
extend-exclude = ["themes/", "data/", "static-surprises/", "resources/"]
|
# Typos-specific ignore globs (gitignore syntax).
|
||||||
|
# NOTE: This setting is ignored when you pass the path directly on the command line, as cachix/git-hooks.nix does.
|
||||||
|
# To ignore those files, you must also exclude those directories via git-hooks.hooks.typos.settings.exclude.
|
||||||
|
extend-exclude = [
|
||||||
|
"data/",
|
||||||
|
"rime-data/",
|
||||||
|
]
|
||||||
|
|
||||||
[default]
|
[default]
|
||||||
|
# Check binary files as text.
|
||||||
binary = false
|
binary = false
|
||||||
|
# Verify spelling in file names.
|
||||||
|
check-filename = true
|
||||||
# ignore some special identifiers(sha256, mac address, crypto keys, etc)
|
# ignore some special identifiers(sha256, mac address, crypto keys, etc)
|
||||||
extend-ignore-re = [
|
extend-ignore-re = [
|
||||||
"iterm2",
|
"iterm2",
|
||||||
|
|||||||
@@ -134,14 +134,15 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
write = true; # Automatically fix typos
|
write = true; # Automatically fix typos
|
||||||
configPath = "./.typos.toml"; # relative to the flake root
|
configPath = ".typos.toml"; # relative to the flake root
|
||||||
|
exclude = "rime-data/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
prettier = {
|
prettier = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
write = true; # Automatically format files
|
write = true; # Automatically format files
|
||||||
configPath = "./.prettierrc.yaml"; # relative to the flake root
|
configPath = ".prettierrc.yaml"; # relative to the flake root
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# deadnix.enable = true; # detect unused variable bindings in `*.nix`
|
# deadnix.enable = true; # detect unused variable bindings in `*.nix`
|
||||||
@@ -173,9 +174,7 @@ in
|
|||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
];
|
];
|
||||||
name = "dots";
|
name = "dots";
|
||||||
shellHook = ''
|
inherit (self.checks.${system}.pre-commit-check) shellHook;
|
||||||
${self.checks.${system}.pre-commit-check.shellHook}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -21,7 +21,8 @@ ryan4yin@linux.com mail
|
|||||||
https://thiscute.world blog
|
https://thiscute.world blog
|
||||||
|
|
||||||
# [自定义]常用符号
|
# [自定义]常用符号
|
||||||
## 小鹤内置常用符号快捷键: https://xgr313l2jy.k.topthink.com/@xhrm/fh.html
|
## 小鹤内置:希腊大写 ofxd 希腊小写 ofxx
|
||||||
|
## https://en.wikipedia.org/wiki/Greek_alphabet
|
||||||
α alpa
|
α alpa
|
||||||
β beta
|
β beta
|
||||||
γ gama
|
γ gama
|
||||||
|
|||||||
Reference in New Issue
Block a user