Add highlighting for python (#570)

Add highlighting for parameters and python string formator placeholder.
This commit is contained in:
shell7 2022-04-20 23:54:53 +08:00 committed by GitHub
parent 5162e9c842
commit 2221604533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,6 +85,34 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
fontStyle: 'italic'
}
},
{
name: 'Parameter',
scope: [
'variable.parameter'
],
settings: {
fontStyle: 'italic'
}
},
{
name: 'Python - Self Parameter',
scope: [
'variable.parameter.function.language.special.self.python'
],
settings: {
foreground: theme.scheme.base.red,
fontStyle: 'italic'
}
},
{
name: 'Python - Format Placeholder',
scope: [
'constant.character.format.placeholder.other.python'
],
settings: {
foreground: theme.scheme.base.orange
}
},
{
name: 'Markdown - Blockquote',
scope: [