Skip to content

Commit

Permalink
add alias docstring for pythong
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYinMD committed Dec 19, 2018
1 parent 447f8f0 commit 23d5fab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions palettes/sepia/sepia.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sepia.aliases = {
curveball: 'indigo',
invalid: 'red',
deprecated: 'pink',
docstring:'tan',
// html ↓
tag: 'blue',
class: 'green',
Expand Down
10 changes: 10 additions & 0 deletions syntax-highlighting-rules/python.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,15 @@
"settings": {
"foreground": "variable"
}
},
{
"name": "python: docstring",
"scope": [
"string.quoted.docstring",
"string.quoted.docstring punctuation.definition.string"
],
"settings": {
"foreground": "docstring"
}
}
]

0 comments on commit 23d5fab

Please sign in to comment.