mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fixes #138165
if trusted, don't include comment highlights, if untrusted, include comment highlights.
This commit is contained in:
parent
257657fb23
commit
16b9fc761b
|
@ -191,14 +191,14 @@ function resolveOptions(trusted: boolean, options: InternalUnicodeHighlightOptio
|
|||
nonBasicASCII: false,
|
||||
ambiguousCharacters: true,
|
||||
invisibleCharacters: true,
|
||||
includeComments: true,
|
||||
includeComments: false,
|
||||
};
|
||||
} else {
|
||||
defaults = {
|
||||
nonBasicASCII: true,
|
||||
ambiguousCharacters: true,
|
||||
invisibleCharacters: true,
|
||||
includeComments: false,
|
||||
includeComments: true,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue