Merge pull request #123 from arlosi/rust2018

Rust: add support for keywords from the 2018 edition
This commit is contained in:
Alexandru Dima 2021-01-26 15:39:10 +01:00 committed by GitHub
commit 7a07b3daf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',