You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Promises and usually put the .then() and the .catch() in different lines than the invocation of the method returning the Promise. But the plugin is not indenting it correctly.
It should be:
this.aService.getAll()
.then()
.catch()
But actually it is:
this.aService.getAll()
.then()
.catch()
Thanks for the awesome plugin.
The text was updated successfully, but these errors were encountered:
I have tried using the latest indent from pangloss/vim-javascript. It will indent as you have specified here but only if you add 0. to 'indentkeys'. It looks like there were various issues raised where people wanted the exact opposite of this issue and so they have settled on using indentkeys. I like this approach. What do you think?
I'm using Promises and usually put the
.then()
and the.catch()
in different lines than the invocation of the method returning the Promise. But the plugin is not indenting it correctly.It should be:
But actually it is:
Thanks for the awesome plugin.
The text was updated successfully, but these errors were encountered: