aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
Diffstat (limited to 'book')
-rw-r--r--book/src/languages.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/languages.md b/book/src/languages.md
index e45ef910..ff06dc00 100644
--- a/book/src/languages.md
+++ b/book/src/languages.md
@@ -35,7 +35,7 @@ Each language is configured by adding a `[[language]]` section to a
[[language]]
name = "mylang"
scope = "source.mylang"
-injection-regex = "^mylang$"
+injection-regex = "mylang"
file-types = ["mylang", "myl"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }