1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00

Add lang servers

This commit is contained in:
wsdjeg 2017-12-24 15:50:20 +08:00
parent da721afcc8
commit 18cf0d996d

View File

@ -73,6 +73,13 @@ let s:enabled_fts = []
let s:lsp_servers = {
\ 'javascript' : ['javascript-typescript-stdio'],
\ 'haskell' : ['hie', '--lsp'],
\ 'c' : ['clangd'],
\ 'cpp' : ['clangd'],
\ 'objc' : ['clangd'],
\ 'objcpp' : ['clangd'],
\ 'go' : ['go-langserver', '-mode', 'stdio'],
\ 'rust' : ['rustup', 'run', 'nightly', 'rls'],
\ 'python' : ['pyls'],
\ 'php' : ['php', g:spacevim_plugin_bundle_dir . 'repos/github.com/felixfbecker/php-language-server/bin/php-language-server.php']
\ }