Skip to content

Instantly share code, notes, and snippets.

@smuuf
Created November 15, 2022 14:08
Show Gist options
  • Save smuuf/d807ecc7402ca29fa2a1c2b3b004c180 to your computer and use it in GitHub Desktop.
Save smuuf/d807ecc7402ca29fa2a1c2b3b004c180 to your computer and use it in GitHub Desktop.
Settings for vscode highlight extension
{
// PHP highlights for https://github.com/fabiospampinato/vscode-highlight
"highlight.regexes": {
"(NOTE:)\s": {
"regexFlags": "g",
"filterLanguageRegex": "php",
"decorations": [
{
"color": "#CFC8A6",
"backgroundColor": "#CFC8A40",
"fontStyle": "italic",
"fontWeight": "bold",
},
]
},
"(private) (static )?function": {
"regexFlags": "g",
"filterLanguageRegex": "php",
"decorations": [
{
"color": "#dddddd",
"backgroundColor": "#dddddd40",
"after": {
"contentText": " 🔏"
}
},
]
},
"(protected) (static )?function": {
"regexFlags": "g",
"filterLanguageRegex": "php",
"decorations": [
{
"color": "#aac1f3",
"backgroundColor": "#aac1f340",
"after": {
"contentText": " 🛡️"
}
},
]
},
"(static) function": {
"regexFlags": "g",
"filterLanguageRegex": "php",
"decorations": [
{
"color": "#7CCBF8",
"backgroundColor": "#7CCBF840",
"after": {
"contentText": " 🧊"
}
},
]
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment