diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-03-28 15:32:41 -0700 |
|---|---|---|
| committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-03-28 15:32:41 -0700 |
| commit | a59ec2ec448772eae3fbf3854b9787c991bb38c6 (patch) | |
| tree | 384974cb0f0cddb862002364463612ce967e596e /doc/lspconfig.txt | |
| parent | Merge pull request #809 from mjlbach/windows_documentation (diff) | |
| download | nvim-lspconfig-a59ec2ec448772eae3fbf3854b9787c991bb38c6.tar nvim-lspconfig-a59ec2ec448772eae3fbf3854b9787c991bb38c6.tar.gz nvim-lspconfig-a59ec2ec448772eae3fbf3854b9787c991bb38c6.tar.bz2 nvim-lspconfig-a59ec2ec448772eae3fbf3854b9787c991bb38c6.tar.lz nvim-lspconfig-a59ec2ec448772eae3fbf3854b9787c991bb38c6.tar.xz nvim-lspconfig-a59ec2ec448772eae3fbf3854b9787c991bb38c6.tar.zst nvim-lspconfig-a59ec2ec448772eae3fbf3854b9787c991bb38c6.zip | |
manual docgen
Diffstat (limited to 'doc/lspconfig.txt')
| -rw-r--r-- | doc/lspconfig.txt | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt index ce018653..a3ca61e6 100644 --- a/doc/lspconfig.txt +++ b/doc/lspconfig.txt @@ -15,9 +15,12 @@ language servers that are installed on your system. assume that you are using the latest [Neovim HEAD/nightly build](https://github.com/neovim/neovim/releases/tag/nightly). Update Neovim and nvim-lspconfig before reporting an issue. * nvim-lspconfig is just a plugin. Install it like any other Vim plugin, e.g. with [vim-plug](https://github.com/junegunn/vim-plug): - ``` - :Plug 'neovim/nvim-lspconfig' - ``` + +> + :Plug 'neovim/nvim-lspconfig' +< + + ============================================================================== 3. Quickstart *lspconfig-quickstart* @@ -370,7 +373,27 @@ Attempt to run the language server, and open the log with: Most of the time, the reason for failure is present in the logs. ============================================================================== -15. Contributions *lspconfig-contributions* +15. Windows *lspconfig-windows* + + +In order for neovim to launch certain executables on Windows, it must append +`.cmd` to the command name. A fix is in the works upstream, but until this is +mainlined please the following somewhere in your init.vim (lua heredoc) or +init.lua: + +> + vim.loop.spawn = (function () + local spawn = vim.loop.spawn + return function(path, options, on_exit) + local full_path = vim.fn.exepath(path) + return spawn(full_path, options, on_exit) + end + end)() +< + + +============================================================================== +16. Contributions *lspconfig-contributions* If you are missing a language server on the list in [CONFIG.md](CONFIG.md) , |
