Parcourir la source

[fixed] correct comment syntax in the VSCode plugin

Correct some, add line comment with double exclamation marks
ezsh il y a 4 ans
Parent
commit
9983561b1f
1 fichiers modifiés avec 7 ajouts et 2 suppressions
  1. 7 2
      syntax/VSCode/qsrc/syntaxes/QSP.tmLanguage.json

+ 7 - 2
syntax/VSCode/qsrc/syntaxes/QSP.tmLanguage.json

@@ -52,11 +52,16 @@
 		{
 			"name": "comment.block.exclamation.qsp",
 			"begin": "!{",
-			"end": "}!$"
+			"end": "}$"
 		},
 		{
 			"name": "comment.line.exclamation.qsp",
-			"begin": "^!.*",
+			"begin": "^!",
+			"end": "$"
+		},
+		{
+			"name": "comment.line.doubleexclamation.qsp",
+			"begin": "!!",
 			"end": "$"
 		},
 		{