snippets: add a shortcut for "NotReqd" -> "NotRequired"
- ID
7385a97- date
2026-11-10 22:00:40+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
f358e31- message
snippets: add a shortcut for "NotReqd" -> "NotRequired" This is for Python type hints, and matches "reqd" -> "required".- changed files
1 file, 2 additions, 1 deletion
Changed files
create_snippets.py (9287 → 9313)
diff --git a/create_snippets.py b/create_snippets.py
index 5314836..a45a17c 100755
--- a/create_snippets.py
+++ b/create_snippets.py
@@ -107,6 +107,7 @@ SNIPPETS = {
"natl.": "national",
"nbhd": "neighbourhood",
"nee ": "née ",
+ "NotReqd": "NotRequired",
" o/w": " otherwise",
" O/w": " Otherwise",
"ofc": "of course",
@@ -222,7 +223,7 @@ SNIPPETS = {
";times": "×",
";tm": "™",
";zwsp": "\u200b", # zero-width space
-
+
"0x": "0×",
"1x": "1×",
"2x": "2×",