diff options
| author | Github Actions <actions@github> | 2020-03-05 03:33:36 +0000 |
|---|---|---|
| committer | Github Actions <actions@github> | 2020-03-05 03:33:36 +0000 |
| commit | a82ee60cb3dd24b593aaf2061dcca41fe26d490a (patch) | |
| tree | 202236b82e32bf5a8929d645a85fa8e468ee9a51 | |
| parent | Merge pull request #147 from h-michael/lua-lsp (diff) | |
| download | nvim-lspconfig-a82ee60cb3dd24b593aaf2061dcca41fe26d490a.tar nvim-lspconfig-a82ee60cb3dd24b593aaf2061dcca41fe26d490a.tar.gz nvim-lspconfig-a82ee60cb3dd24b593aaf2061dcca41fe26d490a.tar.bz2 nvim-lspconfig-a82ee60cb3dd24b593aaf2061dcca41fe26d490a.tar.lz nvim-lspconfig-a82ee60cb3dd24b593aaf2061dcca41fe26d490a.tar.xz nvim-lspconfig-a82ee60cb3dd24b593aaf2061dcca41fe26d490a.tar.zst nvim-lspconfig-a82ee60cb3dd24b593aaf2061dcca41fe26d490a.zip | |
[docgen] Update README.md
skip-checks: true
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -3229,6 +3229,16 @@ Lua language server. **By default, this doesn't have a `cmd` set.** This is because it doesn't provide a global binary. We provide an installer for Linux and macOS using `:LspInstall`. If you wish to install it yourself, [here is a guide](https://github.com/sumneko/lua-language-server/wiki/Build-and-Run). +So you should set `cmd` yourself like this. + +```lua +require'nvim_lsp'.sumneko_lua.setup{ + cmd = {"path", "to", "cmd"}; + ... +} +``` + +If you install via our installer, if you execute `:LspInstallInfo sumneko_lua`, you can know `cmd` value. Can be installed in Nvim with `:LspInstall sumneko_lua` This server accepts configuration via the `settings` key. |
