提交 ad7b31d3 编写于 作者: M Martin Aeschlimann

editor.tokenColorCustomizations comments does not modify comment punctuation. Fixes #81925

上级 4dd10043
......@@ -24,7 +24,7 @@ import { startsWith } from 'vs/base/common/strings';
let colorRegistry = Registry.as<IColorRegistry>(Extensions.ColorContribution);
const tokenGroupToScopesMap = {
comments: ['comment'],
comments: ['comment', 'punctuation.definition.comment'],
strings: ['string'],
keywords: ['keyword - keyword.operator', 'keyword.control', 'storage', 'storage.type'],
numbers: ['constant.numeric'],
......@@ -381,4 +381,4 @@ let defaultThemeColors: { [baseTheme: string]: ITokenColorizationRule[] } = {
{ scope: 'token.error-token', settings: { foreground: '#FF0000' } },
{ scope: 'token.debug-token', settings: { foreground: '#b267e6' } }
],
};
\ No newline at end of file
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册