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
Is there a way to switch the language server that is being used on the fly?
When editing javascript files, I find myself mostly wanting to use javascript-typescript-stdio, but switch to flow-language-server in projects where I use Flow.
Is that possible? Couldn't find anything relevant in the documentation or issues other than a reference to LanguageClient_registerServerCommands in #136 (comment), but not sure how to use it, or if it is even the right solution.
The text was updated successfully, but these errors were encountered:
TxHawks
changed the title
How to switch language server on the fly
How to switch language server on the fly?
Oct 2, 2017
@autozimu
I get Ambiguous use of user-defined command when trying to run :call LanguageClient_registerServerCommands({'javascript':['path-to-server']})
and indeed, :commands lists only LanguageClientStop and LanguageClientStart
LanguageClient_registerServerCommands is a function, not a command.
Not sure what happened on your side, but I tried the steps and see no errors. If you believe you found an issue, please create new bug report. Cannot help much without detail information.
Is there a way to switch the language server that is being used on the fly?
When editing javascript files, I find myself mostly wanting to use
javascript-typescript-stdio
, but switch toflow-language-server
in projects where I use Flow.Is that possible? Couldn't find anything relevant in the documentation or issues other than a reference to
LanguageClient_registerServerCommands
in #136 (comment), but not sure how to use it, or if it is even the right solution.The text was updated successfully, but these errors were encountered: