From 68dae165aea6c36c85a3327d2c0020fd4abe529b Mon Sep 17 00:00:00 2001 From: Zack Grannan Date: Tue, 30 Jan 2024 21:28:19 -0800 Subject: [PATCH] Support `$` in identifiers --- client/package.json | 5 +++++ client/syntaxes/viper-configuration.json | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/client/package.json b/client/package.json index 11c3fd59..e50e24e9 100644 --- a/client/package.json +++ b/client/package.json @@ -237,6 +237,11 @@ ] } ], + "configurationDefaults": { + "[viper]": { + "editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?" + } + }, "themes": [ { "label": "Viper-Dark", diff --git a/client/syntaxes/viper-configuration.json b/client/syntaxes/viper-configuration.json index 882b676e..b9e3079e 100644 --- a/client/syntaxes/viper-configuration.json +++ b/client/syntaxes/viper-configuration.json @@ -20,8 +20,6 @@ ["[", "]"], ["(", ")"], ["<", ">"] - ] - - - -} \ No newline at end of file + ], + "wordPattern": "[$\\w]+" +}