Skip to main content

Only expand ‘fn’ if it’s the start of a word

ID
52fa54a
date
2026-02-19 08:48:37+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
c0088df
message
Only expand 'fn' if it's the start of a word
changed files
1 file, 2 additions, 2 deletions

Changed files

create_snippets.py (8339) → create_snippets.py (8343)

diff --git a/create_snippets.py b/create_snippets.py
index 92dcb43..7e15390 100755
--- a/create_snippets.py
+++ b/create_snippets.py
@@ -71,8 +71,8 @@ SNIPPETS = {
     "fdn": "foundation",
     "Fdn": "Foundation",
     "fiance": "fiancé",
-    "fn": "function",
-    "Fn": "Function",
+    " fn": " function",
+    " Fn": " Function",
     "gdn": "garden",
     "Gdn": "Garden",
     "gov't": "government",