Yasuhiro Matsumoto d56551beb4 Update README.md
2019-12-17 14:41:26 +09:00
2019-12-16 13:36:43 +09:00
2019-12-17 00:52:46 +09:00
2019-12-16 23:50:29 +09:00
2019-12-16 00:12:38 +09:00
2019-12-17 00:12:33 +09:00
2019-12-16 01:19:13 +09:00
2019-12-17 14:41:26 +09:00
2019-12-16 13:25:56 +09:00

vim-lsp-settings

Auto configurations for Language Server for vim-lsp

Instroduction

Language Servers is not easily to install. Visual Studio Code provide easy way to install/update Language Server and Language Server Client. This plugin provide same feature on Vim.

Usage

If you install clangd already, you can use clangd for C/C++ without configurations. But if you install clang with named clangd-6.0, you can replace executable like below:

let g:lsp_settings = {
\  'clangd': {'cmd': ['clangd-6.0']}
\}

Overridable keys are:

  • cmd (List ex: ['clangd-6.0', '-enable-snippets'])
  • initialization_options (Dictionary)
  • whitelist (List)
  • blacklist (List)
  • config (Dictionary)
  • workspace_config (Dictionary)

If you install ruby but not solargraph, you can install solargraph with following command.

:LspInstallServer

Supported Languages

Language Language Server Local Install
C/C++ clangd No
Clojure clojure-lsp Yes
TypeScript typescript-language-server Yes
JavaScript javascript-typescript-langserver/typescript-language-server Yes
Python pyls No
Rust rls Yes
Go gopls Yes
Ruby solargraph Yes
PHP intelephense-server Yes
Java eclipse-jdt-ls Yes
Lua emmylua-ls Yes
Vim vim-language-server Yes

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

Description
Auto configurations for Language Server for vim-lsp
Readme MIT 7.1 MiB
Languages
Vim Script 75.5%
Shell 13.9%
Batchfile 10.5%
Makefile 0.1%