Open steelsojka opened 8 years ago
I will add basic type hint support. But will not stick on flow or typescript.
Hi,
thanks for your plugin. I can see you have put some basic type hint support, like you said. It bugs when we declare a return type for a function, like this:
async pullOne (id: string): Promise<*> {
// <- code here seems to be still considered as a type
}
Do you think it is something that you can fix? Or is it out of scope for the basic type support?
Function return type is not ready now~
Just add basic support, not widely tested
Thanks! It looks like it works pretty well on my project.
vim-javascript has Flow support, but is missing many other ES2016+ features like decorators.
https://github.com/pangloss/vim-javascript/blob/master/extras/flow.vim
My vim syntax skills aren't good enough to splice these together :(