Add Tour.newt sample and make it the default.

Improvements to editor support.
This commit is contained in:
2024-11-07 21:05:05 -08:00
parent 24ab6aa212
commit f0c9e3bf63
8 changed files with 281 additions and 51 deletions

View File

@@ -48,6 +48,13 @@ export let newtConfig: monaco.languages.LanguageConfiguration = {
indentAction: monaco.languages.IndentAction.Indent,
},
},
{
beforeText: /\/-/,
afterText: /-\//,
action: {
indentAction: monaco.languages.IndentAction.IndentOutdent,
},
},
],
};