Skip to content

Commit

Permalink
👌 IMPROVE: Keywords in JS Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed Jul 28, 2018
1 parent d7d2b4c commit 099de44
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions demo/js.js
Expand Up @@ -4,8 +4,9 @@
* Spent a whole night building this theme
* now my neck hurts. Time to hit the bed.
*
* @param hello
* @return bye
* @param String hello Hello.
* @return Boolean
* @since 1.0.0
*/

const hello = 'Hey, hello there there there there';
Expand Down
9 changes: 8 additions & 1 deletion themes/shades-of-purple-color-theme.json
Expand Up @@ -340,7 +340,7 @@
},
{
"name": "[Keyword] — The main color for Keyword",
"scope": "keyword, storage.type.class.js",
"scope": ["keyword, storage.type.class.js"],
"settings": {
"foreground": "#ff9d00"
}
Expand Down Expand Up @@ -626,6 +626,13 @@
"foreground": "#ff9d00"
}
},
{
"name": "[JAVASCRIPT] — Docs Keywords",
"scope": "punctuation.definition.block.tag.jsdoc",
"settings": {
"foreground": "#FAD000",
}
},
{
"name": "Typescript React Assignment Operator",
"scope": ["keyword.operator.assignment.tsx", "keyword.operator.assignment.jsx"],
Expand Down

0 comments on commit 099de44

Please sign in to comment.