Browse Source

Fixed the syntax of the escaped characters in strings (#247)

Nils "Linkpy" Reid 4 years ago
parent
commit
e60d081927
1 changed files with 2 additions and 2 deletions
  1. 2 2
      syntaxes/GDScript.tmLanguage.json

+ 2 - 2
syntaxes/GDScript.tmLanguage.json

@@ -45,7 +45,7 @@
           "end": "\"",
           "patterns": [
             {  "name": "constant.character.escape.untitled",
-                "match": "\\."
+                "match": "\\\\."
             }
           ],
           "name": "string.quoted.double.gdscript"
@@ -55,7 +55,7 @@
           "end": "'",
           "patterns": [
             {  "name": "constant.character.escape.untitled",
-                "match": "\\."
+                "match": "\\\\."
             }
           ],
           "name": "string.quoted.single.gdscript"