diff options
-rw-r--r-- | README.md | 56 | ||||
-rw-r--r-- | settings.json | 4 | ||||
-rw-r--r-- | settings/javascript-typescript-stdio.vim | 18 |
3 files changed, 39 insertions, 39 deletions
@@ -60,34 +60,34 @@ Currently, no way to uninstall/update server. Run this command again, newer vers ## Supported Languages -| Language | Language Server | Local Install | -|------------|-------------------------------------------------------------|:-------------:| -| C/C++ | clangd | No | -| C# | omnisharp | Yes | -| Clojure | clojure-lsp | Yes | -| TypeScript | typescript-language-server | Yes | -| JavaScript | javascript-typescript-langserver/typescript-language-server | Yes | -| Python | pyls | Yes | -| Rust | rls | No | -| Go | gopls | Yes | -| Ruby | solargraph | Yes | -| PHP | intelephense | Yes | -| Java | eclipse-jdt-ls | Yes | -| Lua | emmylua-ls | Yes | -| Vim | vim-language-server | Yes | -| Bash | bash-language-server | Yes | -| Terraform | terraform-lsp | Yes | -| Dockerfile | dockerfile-language-server-nodejs | Yes | -| YAML | yaml-language-server | Yes | -| XML | lsp4xml | Yes | -| Fortran | fortls | Yes | -| Scala | Metals | Yes | -| Elm | elm-language-server | Yes | -| JSON | json-languageserver | Yes | -| Swift | sourcekit-lsp | No | -| COBOL | cobol-language-support | Yes | -| Reason | reason-language-server | Yes | -| TeX | digestif | No | +| Language | Language Server | Local Install | +|------------|--------------------------------------------------------|:-------------:| +| C/C++ | clangd | No | +| C# | omnisharp | Yes | +| Clojure | clojure-lsp | Yes | +| TypeScript | typescript-language-server | Yes | +| JavaScript | javascript-typescript-stdio/typescript-language-server | Yes | +| Python | pyls | Yes | +| Rust | rls | No | +| Go | gopls | Yes | +| Ruby | solargraph | Yes | +| PHP | intelephense | Yes | +| Java | eclipse-jdt-ls | Yes | +| Lua | emmylua-ls | Yes | +| Vim | vim-language-server | Yes | +| Bash | bash-language-server | Yes | +| Terraform | terraform-lsp | Yes | +| Dockerfile | dockerfile-language-server-nodejs | Yes | +| YAML | yaml-language-server | Yes | +| XML | lsp4xml | Yes | +| Fortran | fortls | Yes | +| Scala | Metals | Yes | +| Elm | elm-language-server | Yes | +| JSON | json-languageserver | Yes | +| Swift | sourcekit-lsp | No | +| COBOL | cobol-language-support | Yes | +| Reason | reason-language-server | Yes | +| TeX | digestif | No | ## License diff --git a/settings.json b/settings.json index f0ba616..822ffdb 100644 --- a/settings.json +++ b/settings.json @@ -91,13 +91,13 @@ ], "javascript": [ { - "command": "javascript-typescript-stdio", + "command": "typescript-language-server", "requires": [ "npm" ] }, { - "command": "typescript-language-server", + "command": "javascript-typescript-stdio", "requires": [ "npm" ] diff --git a/settings/javascript-typescript-stdio.vim b/settings/javascript-typescript-stdio.vim index 72afeb0..eb370d5 100644 --- a/settings/javascript-typescript-stdio.vim +++ b/settings/javascript-typescript-stdio.vim @@ -1,13 +1,13 @@ -augroup vimlsp_settings_javascript_typescript_langserver +augroup vimlsp_settings_javascript_typescript_stdio au! LspRegisterServer { - \ 'name': 'javascript-typescript-langserver', - \ 'cmd': {server_info->lsp_settings#get('javascript-typescript-langserver', 'cmd', [lsp_settings#exec_path('javascript-typescript-langserver')])}, - \ 'root_uri':{server_info->lsp_settings#get('javascript-typescript-langserver', 'root_uri', lsp_settings#root_uri(['.git/']))}, - \ 'initialization_options': lsp_settings#get('javascript-typescript-langserver', 'initialization_options', {"diagnostics": "true"}), - \ 'whitelist': lsp_settings#get('javascript-typescript-langserver', 'whitelist', ['javascript', 'javascriptreact']), - \ 'blacklist': lsp_settings#get('javascript-typescript-langserver', 'blacklist', []), - \ 'config': lsp_settings#get('javascript-typescript-langserver', 'config', {}), - \ 'workspace_config': lsp_settings#get('javascript-typescript-langserver', 'workspace_config', {}), + \ 'name': 'javascript-typescript-stdio', + \ 'cmd': {server_info->lsp_settings#get('javascript-typescript-stdio', 'cmd', [lsp_settings#exec_path('javascript-typescript-stdio')])}, + \ 'root_uri':{server_info->lsp_settings#get('javascript-typescript-stdio', 'root_uri', lsp_settings#root_uri(['.git/']))}, + \ 'initialization_options': lsp_settings#get('javascript-typescript-stdio', 'initialization_options', {"diagnostics": "true"}), + \ 'whitelist': lsp_settings#get('javascript-typescript-stdio', 'whitelist', ['javascript', 'javascriptreact']), + \ 'blacklist': lsp_settings#get('javascript-typescript-stdio', 'blacklist', []), + \ 'config': lsp_settings#get('javascript-typescript-stdio', 'config', {}), + \ 'workspace_config': lsp_settings#get('javascript-typescript-stdio', 'workspace_config', {}), \ } augroup END |