From 8b372ecb47d75a5cd037f2923fda5e169926f8e7 Mon Sep 17 00:00:00 2001 From: fusion44 Date: Sun, 16 Mar 2025 13:27:40 +0100 Subject: [PATCH] feat: make typos available to the devenv --- _typos.toml | 7 +++++++ devenv.nix | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 _typos.toml diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..df7cde1 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,7 @@ +[files] +extend-exclude = ["app/lightning/impl/protos/*", "openapi.json"] + + +[default.extend-words] +# Don't correct the surname "Teh" +TBE = "TBE" diff --git a/devenv.nix b/devenv.nix index 1e4e600..a9655e0 100644 --- a/devenv.nix +++ b/devenv.nix @@ -76,19 +76,22 @@ in { packages = with pkgs-unstable; [ stdenv.cc.cc pyright + isort alejandra statix ruff ruff-lsp redis nushell + typos + typos-lsp bitcoind lnd clightning ]; - # blitz api uses its own .env file and is not applicaple for + # blitz api uses its own .env file and is not applicable for # the devenv dotenv.disableHint = true;