summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/go
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/mode/go')
-rw-r--r--[-rwxr-xr-x]public/vendor/codemirror/mode/go/go.js2
-rw-r--r--[-rwxr-xr-x]public/vendor/codemirror/mode/go/index.html0
2 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/mode/go/go.js b/public/vendor/codemirror/mode/go/go.js
index b121f4e6..21fe9a2d 100755..100644
--- a/public/vendor/codemirror/mode/go/go.js
+++ b/public/vendor/codemirror/mode/go/go.js
@@ -86,7 +86,7 @@ CodeMirror.defineMode("go", function(config) {
var escaped = false, next, end = false;
while ((next = stream.next()) != null) {
if (next == quote && !escaped) {end = true; break;}
- escaped = !escaped && next == "\\";
+ escaped = !escaped && quote != "`" && next == "\\";
}
if (end || !(escaped || quote == "`"))
state.tokenize = tokenBase;
diff --git a/public/vendor/codemirror/mode/go/index.html b/public/vendor/codemirror/mode/go/index.html
index 72e3b364..72e3b364 100755..100644
--- a/public/vendor/codemirror/mode/go/index.html
+++ b/public/vendor/codemirror/mode/go/index.html