diff options
| author | github-actions <github-actions@github.com> | 2021-12-04 17:13:31 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2021-12-04 17:13:31 +0000 |
| commit | 9f63725751343e11578cfa88461005658a03ffdf (patch) | |
| tree | e526f6cca77427009f9cd0b1f2eaaccc20de394a /doc | |
| parent | docs(lua): simplify cmd documentation (#1539) (diff) | |
| download | nvim-lspconfig-9f63725751343e11578cfa88461005658a03ffdf.tar nvim-lspconfig-9f63725751343e11578cfa88461005658a03ffdf.tar.gz nvim-lspconfig-9f63725751343e11578cfa88461005658a03ffdf.tar.bz2 nvim-lspconfig-9f63725751343e11578cfa88461005658a03ffdf.tar.lz nvim-lspconfig-9f63725751343e11578cfa88461005658a03ffdf.tar.xz nvim-lspconfig-9f63725751343e11578cfa88461005658a03ffdf.tar.zst nvim-lspconfig-9f63725751343e11578cfa88461005658a03ffdf.zip | |
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/server_configurations.md | 5 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 187788bc..d4878b9c 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -6867,9 +6867,7 @@ https://github.com/sumneko/lua-language-server Lua language server. -`lua-language-server` can be installed by following the instructions [here](https://github.com/sumneko/lua-language-server/wiki/Build-and-Run). - -**By default, lua-language-server doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your unzipped and compiled lua-language-server. +`lua-language-server` can be installed by following the instructions [here](https://github.com/sumneko/lua-language-server/wiki/Build-and-Run). The default `cmd` assumes that the `lua-language-server` binary can be found in `$PATH`. ```lua local runtime_path = vim.split(package.path, ';') @@ -6877,7 +6875,6 @@ table.insert(runtime_path, "lua/?.lua") table.insert(runtime_path, "lua/?/init.lua") require'lspconfig'.sumneko_lua.setup { - cmd = { "/path/to/lua-language-server" }, -- full path to the binary settings = { Lua = { runtime = { diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 187788bc..d4878b9c 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -6867,9 +6867,7 @@ https://github.com/sumneko/lua-language-server Lua language server. -`lua-language-server` can be installed by following the instructions [here](https://github.com/sumneko/lua-language-server/wiki/Build-and-Run). - -**By default, lua-language-server doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your unzipped and compiled lua-language-server. +`lua-language-server` can be installed by following the instructions [here](https://github.com/sumneko/lua-language-server/wiki/Build-and-Run). The default `cmd` assumes that the `lua-language-server` binary can be found in `$PATH`. ```lua local runtime_path = vim.split(package.path, ';') @@ -6877,7 +6875,6 @@ table.insert(runtime_path, "lua/?.lua") table.insert(runtime_path, "lua/?/init.lua") require'lspconfig'.sumneko_lua.setup { - cmd = { "/path/to/lua-language-server" }, -- full path to the binary settings = { Lua = { runtime = { |
