Skip to content

Support for ES6 class / object functions #261

@mikew

Description

@mikew

ES6 has another syntax for functions. What was { someProp: function () {} } can now be written as { someProp () {} }.

screen shot 2015-04-03 at 6 18 09 pm

They should be jsObjectKey, but currently they get parsed as jsFuncCall. I tried my hand at adding support but couldn't grok vim's syntax highlighting.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions