on master help sign in
book: fix the injection-regex example
b633139Clément Delafargue
book/src/languages.md+1−1
@@ -35,7 +35,7 @@ Each language is configured by adding a `[[language]]` section to a
35[[language]]
35[[language]]
36name = "mylang"
36name = "mylang"
37scope = "source.mylang"
37scope = "source.mylang"
38−injection-regex = "^mylang$"
38+injection-regex = "mylang"
39file-types = ["mylang", "myl"]
39file-types = ["mylang", "myl"]
40comment-token = "#"
40comment-token = "#"
41indent = { tab-width = 2, unit = " " }
41indent = { tab-width = 2, unit = " " }