Skip to content
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

2.1 syntax support #106

Open
t1bb4r opened this issue Feb 13, 2017 · 3 comments
Open

2.1 syntax support #106

t1bb4r opened this issue Feb 13, 2017 · 3 comments

Comments

@t1bb4r
Copy link

t1bb4r commented Feb 13, 2017

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.

@leafgarland
Copy link
Owner

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
Copy link
Owner

Re-open because we should highlight those correctly.

@leafgarland leafgarland reopened this Feb 14, 2017
@t1bb4r
Copy link
Author

t1bb4r commented Feb 14, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants