Add typos
This commit is contained in:
parent
d22323535c
commit
7d6a70ed2f
5 changed files with 9 additions and 1 deletions
|
@ -21,7 +21,7 @@ let
|
|||
}) dictionary
|
||||
);
|
||||
};
|
||||
typosConfigFile = tomlFormatter.generate "_typos.toml" typosConfig;
|
||||
typosConfigFile = tomlFormatter.generate "typos.toml" typosConfig;
|
||||
in
|
||||
{
|
||||
helix.language-server = {
|
||||
|
@ -34,6 +34,10 @@ in
|
|||
vale-ls.command = "${pkgs.vale-ls}/bin/vale-ls";
|
||||
# https://writewithharper.com/docs/integrations/language-server#Supported-Languages
|
||||
harper-ls.command = "${pkgs.harper}/bin/harper-ls";
|
||||
typos = {
|
||||
command = "${pkgs.typos-lsp}/bin/typos-lsp";
|
||||
config.config = typosConfigFile.outPath;
|
||||
};
|
||||
};
|
||||
pre-commit = {
|
||||
typos = {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"marksman"
|
||||
"ltex-ls-plus"
|
||||
"vale-ls"
|
||||
"typos"
|
||||
];
|
||||
formatter = {
|
||||
command = "${treefmt}/bin/treefmt";
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
language-servers = [
|
||||
"nil"
|
||||
"harper-ls"
|
||||
"typos"
|
||||
];
|
||||
formatter = {
|
||||
command = "${treefmt}/bin/treefmt";
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
language-servers = [
|
||||
"taplo"
|
||||
"harper-ls"
|
||||
"typos"
|
||||
];
|
||||
formatter = {
|
||||
command = "${treefmt}/bin/treefmt";
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
language-servers = [
|
||||
"yaml-language-server"
|
||||
"harper-ls"
|
||||
"typos"
|
||||
];
|
||||
formatter = {
|
||||
command = "${treefmt}/bin/treefmt";
|
||||
|
|
Loading…
Add table
Reference in a new issue