Commit 6c439cd1 for codemirror.net

commit 6c439cd1560b3ec1296db0b2df3e25c74542c395
Author: Jan T. Sott <git@idleberg.com>
Date:   Sat Dec 4 11:54:06 2021 +0100

    [nsis mode] fix variable pattern

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

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

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