mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Define printWidth at 100
This commit is contained in:
parent
078ee54715
commit
bce6fe83af
81 changed files with 290 additions and 1156 deletions
|
|
@ -281,10 +281,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
tokenizer: {
|
||||
root: [
|
||||
// C++ 11 Raw String
|
||||
[
|
||||
/@encoding?R\"(?:([^ ()\\\t]*))\(/,
|
||||
{ token: 'string.raw.begin', next: '@raw.$1' }
|
||||
],
|
||||
[/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: 'string.raw.begin', next: '@raw.$1' }],
|
||||
|
||||
// identifiers and keywords
|
||||
[
|
||||
|
|
@ -303,10 +300,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
// [[ attributes ]].
|
||||
[/\[\[.*\]\]/, 'annotation'],
|
||||
|
||||
[
|
||||
/^\s*#include/,
|
||||
{ token: 'keyword.directive.include', next: '@include' }
|
||||
],
|
||||
[/^\s*#include/, { token: 'keyword.directive.include', next: '@include' }],
|
||||
|
||||
// Preprocessor directive
|
||||
[/^\s*#\s*\w+/, 'keyword'],
|
||||
|
|
@ -383,12 +377,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
'string.raw.end',
|
||||
{ token: 'string.raw.end', next: '@pop' }
|
||||
],
|
||||
'@default': [
|
||||
'string.raw',
|
||||
'string.raw',
|
||||
'string.raw',
|
||||
'string.raw'
|
||||
]
|
||||
'@default': ['string.raw', 'string.raw', 'string.raw', 'string.raw']
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue