-
Notifications
You must be signed in to change notification settings - Fork 352
changes according to #466 #463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
and an empty string is a valid property name? hah |
possibly adding basic computed properties also |
@amadeus is there a way to get a specific syntax group like jsblock but for objects only? |
@bounceme soooo, that's an update I am planning to do, and we will need it, especially for many ES6 features. Perhaps I can find some time tomorrow to look into it. |
thanks, all the new shorthand syntaxes are dependent on that, otherwise my giant regex matches basically every object literal property definition in es5 |
i'll finish this with the es6/7 pr in mind. @amadeus i don't think the jsfuncargs group works across lines, is that something you would be able to fix? |
var func = function(
x,
y
){
return x + y;
}; If you are referring however to The TL;DR is that No other syntax file that I have found actually supports a multiline |
oh sorry, I mean is there an 'invoked function arguments' syntax pattern? |
@bounceme ahh, at this point no, although we could potentially chain something to the |
it isn't necessary really, jsparen is enough for now at least |
this pr was waiting on #466, and is a relatively minor update but the additions are helpful for objects handling |
going to merge this as it goes along with @amadeus 's update |
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Property_Accessors#Dot_notation