Commit 9885241f for codemirror.net

commit 9885241fe9dee2415f988d3a3619421f45ce8c6b
Author: Marijn Haverbeke <marijn@haverbeke.nl>
Date:   Fri Oct 16 09:53:55 2020 +0200

    [javascript mode] Don't indent in template strings

    Closes #6442

diff --git a/mode/javascript/javascript.js b/mode/javascript/javascript.js
index 3139fd00..63eaa241 100644
--- a/mode/javascript/javascript.js
+++ b/mode/javascript/javascript.js
@@ -868,7 +868,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
     },

     indent: function(state, textAfter) {
-      if (state.tokenize == tokenComment) return CodeMirror.Pass;
+      if (state.tokenize == tokenComment || state.tokenize == tokenQuasi) return CodeMirror.Pass;
       if (state.tokenize != tokenBase) return 0;
       var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical, top
       // Kludge to prevent 'maybelse' from blocking lexical scope pops