add \case sugar and editor support. fix symlink

This commit is contained in:
2024-12-28 16:02:31 -08:00
parent a6e68ac2a2
commit 23a95f70f5
9 changed files with 40 additions and 55 deletions

View File

@@ -40,13 +40,7 @@ export let newtConfig: monaco.languages.LanguageConfiguration = {
},
},
{
beforeText: /\bwhere$/,
action: {
indentAction: monaco.languages.IndentAction.Indent,
},
},
{
beforeText: /\bof$/,
beforeText: /\b(where|of|case)$/,
action: {
indentAction: monaco.languages.IndentAction.Indent,
},