From a82ee60cb3dd24b593aaf2061dcca41fe26d490a Mon Sep 17 00:00:00 2001 From: Github Actions Date: Thu, 5 Mar 2020 03:33:36 +0000 Subject: [docgen] Update README.md skip-checks: true --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 602cfb21..236d3f5d 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3-70-g09d2