Add Tour.newt sample and make it the default.
Improvements to editor support.
This commit is contained in:
@@ -48,6 +48,13 @@ export let newtConfig: monaco.languages.LanguageConfiguration = {
|
||||
indentAction: monaco.languages.IndentAction.Indent,
|
||||
},
|
||||
},
|
||||
{
|
||||
beforeText: /\/-/,
|
||||
afterText: /-\//,
|
||||
action: {
|
||||
indentAction: monaco.languages.IndentAction.IndentOutdent,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user