Commit 514c6840 for codemirror.net

commit 514c684023abf41917b814b09daa661de65198e7
Author: Jan T. Sott <git@idleberg.com>
Date:   Sat Dec 4 16:41:07 2021 +0100

    [nsis mode] improve variable pattern

    Follow-up to #6837 to support single letter variable names

diff --git a/mode/nsis/nsis.js b/mode/nsis/nsis.js
index 9d327266..7e419f03 100644
--- a/mode/nsis/nsis.js
+++ b/mode/nsis/nsis.js
@@ -71,7 +71,7 @@ CodeMirror.defineSimpleMode("nsis",{
     {regex: /[-+\/*=<>!]+/, token: "operator"},

     // Variable
-    {regex: /\$\w[\w\.]+/, token: "variable"},
+    {regex: /\$\w[\w\.]*/, token: "variable"},

     // Constant
     {regex: /\${[\!\w\.:-]+}/, token: "variable-2"},