mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Merge pull request #123 from arlosi/rust2018
Rust: add support for keywords from the 2018 edition
This commit is contained in:
commit
7a07b3daf7
1 changed files with 4 additions and 0 deletions
|
|
@ -42,11 +42,14 @@ export const language = <languages.IMonarchLanguage>{
|
|||
defaultToken: 'invalid',
|
||||
keywords: [
|
||||
'as',
|
||||
'async',
|
||||
'await',
|
||||
'box',
|
||||
'break',
|
||||
'const',
|
||||
'continue',
|
||||
'crate',
|
||||
'dyn',
|
||||
'else',
|
||||
'enum',
|
||||
'extern',
|
||||
|
|
@ -71,6 +74,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
'super',
|
||||
'trait',
|
||||
'true',
|
||||
'try',
|
||||
'type',
|
||||
'unsafe',
|
||||
'use',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue