Skip to content
Snippets Groups Projects
Commit 1ba861a0 authored by Joel Einbinder's avatar Joel Einbinder Committed by Marijn Haverbeke
Browse files

[javascript mode] Test for comments between async and function keywords

parent 85fb7510
No related branches found
No related tags found
No related merge requests found
......@@ -230,6 +230,9 @@
"[keyword const] [def async] [operator =] {[property a]: [number 1]};",
"[keyword const] [def foo] [operator =] [string-2 `bar ${][variable async].[property a][string-2 }`];")
MT("async_comment",
"[keyword async] [comment /**/] [keyword function] [def foo]([def args]) { [keyword return] [atom true]; }");
MT("indent_switch",
"[keyword switch] ([variable x]) {",
" [keyword default]:",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment