mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Changes from prettier
This commit is contained in:
parent
911545031d
commit
22487ca8e1
1 changed files with 6 additions and 6 deletions
|
|
@ -38,7 +38,7 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
|
|
||||||
// TODO(owensd): Support the full range of unicode valid identifiers.
|
// TODO(owensd): Support the full range of unicode valid identifiers.
|
||||||
identifier: /[a-zA-Z_][\w$]*/,
|
identifier: /[a-zA-Z_][\w$]*/,
|
||||||
|
|
||||||
attributes: [
|
attributes: [
|
||||||
'@GKInspectable',
|
'@GKInspectable',
|
||||||
'@IBAction',
|
'@IBAction',
|
||||||
|
|
@ -51,7 +51,7 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
'@NSManaged',
|
'@NSManaged',
|
||||||
'@Sendable',
|
'@Sendable',
|
||||||
'@UIApplicationMain',
|
'@UIApplicationMain',
|
||||||
|
|
||||||
'@autoclosure',
|
'@autoclosure',
|
||||||
'@actorIndependent',
|
'@actorIndependent',
|
||||||
'@asyncHandler',
|
'@asyncHandler',
|
||||||
|
|
@ -79,7 +79,7 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
'@unchecked',
|
'@unchecked',
|
||||||
'@unknown',
|
'@unknown',
|
||||||
'@usableFromInline',
|
'@usableFromInline',
|
||||||
'@warn_unqualified_access',
|
'@warn_unqualified_access'
|
||||||
],
|
],
|
||||||
accessmodifiers: ['open', 'public', 'internal', 'fileprivate', 'private'],
|
accessmodifiers: ['open', 'public', 'internal', 'fileprivate', 'private'],
|
||||||
keywords: [
|
keywords: [
|
||||||
|
|
@ -103,12 +103,12 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
'#selector',
|
'#selector',
|
||||||
'#sourceLocation',
|
'#sourceLocation',
|
||||||
'#warning',
|
'#warning',
|
||||||
|
|
||||||
'Any',
|
'Any',
|
||||||
'Protocol',
|
'Protocol',
|
||||||
'Self',
|
'Self',
|
||||||
'Type',
|
'Type',
|
||||||
|
|
||||||
'actor',
|
'actor',
|
||||||
'as',
|
'as',
|
||||||
'assignment',
|
'assignment',
|
||||||
|
|
@ -197,7 +197,7 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
'where',
|
'where',
|
||||||
'while',
|
'while',
|
||||||
'willSet',
|
'willSet',
|
||||||
|
|
||||||
'__consuming',
|
'__consuming',
|
||||||
'__owned'
|
'__owned'
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue