-
Notifications
You must be signed in to change notification settings - Fork 297
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
How to add flow language server #42
Comments
It should be similar to typescript. https://github.com/prabirshrestha/vim-lsp/wiki/Servers-TypeScript |
Added a wiki page on how to use flow language server at https://github.com/prabirshrestha/vim-lsp/wiki/Servers-Flow |
You're the best @prabirshrestha ! 💯 |
@prabirshrestha There's also native lsp support in latest versions via |
I have updated the docs to use @TrySound As for the local flow bin, you can write a custom function to return cmd.
Then update the cmd to point to the function you created above. 'cmd': function('s:get_flowbin') I personally use typescript every day and prefer to use global which I keep up to date so that when I'm cleaning the git repro or switching branches I always have the binary there. |
@prabirshrestha This is not the case with flow because a few different projects may use different flow versions and produce different errors. I'm sure this is also true for typescript. |
For some reason asyncomplete just doesn't work with vim-lsp. This is my config
|
How can I use the flow language server together with vim-lsp?
(https://github.com/flowtype/flow-language-server)
The text was updated successfully, but these errors were encountered: