server command should be a function beside array
For typescript I would want to run the server found in node_modules directory. This means the cmd path needs to be calculated dynamically.
let g:langserver_executables = {}
let g:langserver_executables.typescript = { 'cmd': function('s:get_langserver_for_typescript') }
I think this is already possible. Just have the function return a list and it should work fine.
Oh, nevermind, it won't get executed. I will add this :)
With 3c946346d5bafe5e1cf7c63c7e51ec9be40bef22, I think I have added the capability.
I have updated the doc to correspond with this. Let me know if that was what you were expecting.
@prabirshrestha did you get a chance to see if this works for you? I will close it if it does.
Thanks.