Add highlighting for python (#570)
Add highlighting for parameters and python string formator placeholder.
This commit is contained in:
parent
5162e9c842
commit
2221604533
1 changed files with 28 additions and 0 deletions
|
@ -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: [
|
||||
|
|
Loading…
Reference in a new issue