ctags-patterns-for-javascript
ctags-patterns-for-javascript copied to clipboard
Add support for space after method name
Change the regex for shortand methods in object literals to allow space after the method name.
Probably found why you haven't allowed space now, it will include if statements and similar as methods:
if (x === y) {
which is not something we want. Not sure how to remove that though.
Probably found why you haven't allowed space now, it will include if statements and similar as methods:
if (x === y) {which is not something we want. Not sure how to remove that though.
Yes, that's exactly why. That new method syntax is really troublesome.