typescript-vim icon indicating copy to clipboard operation
typescript-vim copied to clipboard

2.1 syntax support

Open t1bb4r opened this issue 9 years ago • 3 comments

I would love to see this vim plugin updated for the 2.1 syntax enhancements.

I've started using the new typescript 2.1,constructs like Partial and noticed the plugin doesn't recognise the word. The official typescript compiler has no problem compiling the code. partial

Even if there is just a workaround to suppress the error I would be happy.

t1bb4r avatar Feb 13 '17 10:02 t1bb4r

You're right that this syntax plugin does not highlight things like Partial<ITransaction> but the compile error is not because of this plugin. I would guess that it is picking up an older tsc or perhaps there are specific flags needed to enable typescript to compile them?

leafgarland avatar Feb 14 '17 09:02 leafgarland

Re-open because we should highlight those correctly.

leafgarland avatar Feb 14 '17 09:02 leafgarland

Forgive my ignorance, I have zero experience with vim plugins. I'm an idiot after all, my PATH wasn't set up correctly so the plugin was using my global typescript (npm -g) which was an older version than my project specific version.

Thanks for the quicky reponse.

t1bb4r avatar Feb 14 '17 11:02 t1bb4r