mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add a Class JS mapping in categoriesForLanguage
This commit is contained in:
parent
82de031db8
commit
1dc3fb2727
@ -44,6 +44,7 @@ categoriesForLanguage language name = case (language, name) of
|
||||
(JavaScript, "void_op") -> Operator
|
||||
(JavaScript, "for_in_statement") -> For
|
||||
(JavaScript, "for_of_statement") -> For
|
||||
(JavaScript, "class") -> Class
|
||||
|
||||
(Ruby, "hash") -> Object
|
||||
_ -> defaultCategoryForNodeName name
|
||||
|
Loading…
Reference in New Issue
Block a user