aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2020-03-05 03:33:36 +0000
committerGithub Actions <actions@github>2020-03-05 03:33:36 +0000
commita82ee60cb3dd24b593aaf2061dcca41fe26d490a (patch)
tree202236b82e32bf5a8929d645a85fa8e468ee9a51
parentMerge pull request #147 from h-michael/lua-lsp (diff)
downloadnvim-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.md10
1 files changed, 10 insertions, 0 deletions
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.