Skip to content

Commit 72e83b5

Browse files
committed
feat: add support for Canadian English to VSCode cSpell
The base extension only supports US and UK English; other languages need to be installed as separate extensions. Nixpkgs only has German and French packaged, so I had to pull it myself locally. I think it'd be a good idea for me to submit the other languages up to Nixpkgs at some point in the future.
1 parent 5604608 commit 72e83b5

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

users/frontear/home/programs/vscode/extensions.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,13 @@
391391
publisher = "streetsidesoftware";
392392
version = "4.5.6";
393393
}
394+
{
395+
arch = "";
396+
hash = "sha256-QSlmYzV7N/k8VhSOPfRqrPHp++6wVqgjnX9kAiyH+jo=";
397+
name = "code-spell-checker-canadian-english";
398+
publisher = "streetsidesoftware";
399+
version = "1.1.31";
400+
}
394401
{
395402
arch = "";
396403
hash = "sha256-7+Yo6X+t56tnZzepBKEo5hJdgLxiF3+83hSFqpkhVpA=";

users/frontear/home/programs/vscode/settings.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
# ============================= VSCode Settings =============================
3+
24
"editor.accessibilitySupport" = "off";
35
"editor.cursorBlinking" = "phase";
46
"editor.cursorSmoothCaretAnimation" = "on";
@@ -47,7 +49,9 @@
4749
"workbench.secondarySideBar.defaultVisibility" = "hidden"; # stupid LLM chat
4850
"workbench.startupEditor" = "newUntitledFile";
4951

50-
# Extensions
52+
# ============================ VSCode Extensions ============================
53+
54+
"cSpell.language" = "en,en-CA";
5155

5256
"nix.enableLanguageServer" = true;
5357
"nix.serverPath" = "nixd";

0 commit comments

Comments
 (0)