Skip to content
This repository was archived by the owner on Oct 27, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
removed 'default' from keyword.control.js and added it to it's own sc…
…ope of keyword.operator.default.js
  • Loading branch information
thecodechef committed Jun 8, 2017
commit 5200376a884fea84409a073717123b7e53fcafc8
6 changes: 5 additions & 1 deletion grammars/javascript.cson
Original file line number Diff line number Diff line change
Expand Up @@ -720,9 +720,13 @@
'name': 'storage.modifier.js'
}
{
'match': '\\b(break|case|catch|continue|default|do|else|finally|for|goto|if|import|from|as|package|return|switch|throw|try|while)\\b'
'match': '\\b(break|case|catch|continue|do|else|finally|for|goto|if|import|from|as|package|return|switch|throw|try|while)\\b'
'name': 'keyword.control.js'
}
{
'match': '\\b(default)\\b'
'name': 'keyword.operator.default.js'
}
{
'match': '\\b(delete|in(stanceof)?|new|typeof|void|with)\\b'
'name': 'keyword.operator.js'
Expand Down