use typos to check typos
This commit is contained in:
parent
8d9f566ce6
commit
f3de1c79e4
7 changed files with 44 additions and 22 deletions
18
.helix/languages.toml
Normal file
18
.helix/languages.toml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[[language]]
|
||||
name = "nix"
|
||||
language-servers = ["nixd", "typos-lsp"]
|
||||
|
||||
[[language]]
|
||||
name = "markdown"
|
||||
language-servers = ["marksman", "markdown-oxide", "typos-lsp"]
|
||||
|
||||
[[language]]
|
||||
name = "toml"
|
||||
language-servers = ["taplo", "typos-lsp"]
|
||||
|
||||
[[language]]
|
||||
name = "git-ignore"
|
||||
language-servers = ["typos-lsp"]
|
||||
|
||||
[language-server.typos-lsp]
|
||||
command = "typos-lsp"
|
||||
21
.typos.toml
Normal file
21
.typos.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[files]
|
||||
ignore-global = true
|
||||
ignore-parent = true
|
||||
ignore-hidden = false
|
||||
ignore-files = true
|
||||
ignore-vcs = true
|
||||
extend-exclude = ["secrets/", ".git/", "public-key.txt"]
|
||||
|
||||
[default]
|
||||
check-filename = true
|
||||
check-file = true
|
||||
unicode = true
|
||||
extend-ignore-re = [
|
||||
# Line ignore with trailling `(#|//) spellchecker: disable-line`
|
||||
"(?Rm)^.*(#|//)\\s*spellchecker: disable-line$",
|
||||
# Line block with `# spellchecker: <on|off>`
|
||||
"(?s)(#|//)\\s*spellchecker: off.*?\\n\\s*(#|//)\\s*spellchecker: on",
|
||||
]
|
||||
extend-ignore-identifiers-re = ["als", "Paket", "ConfiguratioN", "StructurE"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
words = [
|
||||
"akun",
|
||||
"configuratio",
|
||||
"fuzzel",
|
||||
"gdm",
|
||||
"ghostty",
|
||||
"kde",
|
||||
"niri",
|
||||
"nixo",
|
||||
"nixos",
|
||||
"nixpkgs",
|
||||
"ovelrays",
|
||||
"pkgs",
|
||||
"sddm",
|
||||
"specialisation",
|
||||
"structur",
|
||||
"tytonidae",
|
||||
]
|
||||
|
|
@ -180,6 +180,7 @@
|
|||
packages = with pkgs; [
|
||||
nixd
|
||||
typos
|
||||
typos-lsp
|
||||
just
|
||||
nvfetcher
|
||||
];
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ in {
|
|||
example = pkgs.wluam;
|
||||
default = pkgs.wluma;
|
||||
description = ''
|
||||
pakcage of wluma
|
||||
package of wluma
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ in {
|
|||
description = ''
|
||||
A file which JSON configurations for juicity client. See the {option}`settings` option for more information.
|
||||
|
||||
Note: this file will override {options}`settings` option, which is recommanded.
|
||||
Note: this file will override {options}`settings` option, which is recommended.
|
||||
'';
|
||||
};
|
||||
allowedOpenFirewallPorts = lib.mkOption {
|
||||
|
|
@ -95,7 +95,7 @@ in {
|
|||
description = ''
|
||||
A file which JSON configurations for juicity server. See the {option}`settings` option for more information.
|
||||
|
||||
Note: this file will override {options}`settings` option, which is recommanded.
|
||||
Note: this file will override {options}`settings` option, which is recommended.
|
||||
'';
|
||||
};
|
||||
allowedOpenFirewallPorts = lib.mkOption {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
src = grammar.src;
|
||||
# sourceRoot = "source";
|
||||
|
||||
dontConfigue = true;
|
||||
dontConfigure = true;
|
||||
|
||||
FLAGS = [
|
||||
"-Isrc"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue