diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-11-27 09:44:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-27 09:44:50 -0500 |
| commit | bbc5405169005a17e7b8522854f68416f0767208 (patch) | |
| tree | 3169961d7ff5c4ad9587a4926e4efafe8f870738 /doc | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-bbc5405169005a17e7b8522854f68416f0767208.tar nvim-lspconfig-bbc5405169005a17e7b8522854f68416f0767208.tar.gz nvim-lspconfig-bbc5405169005a17e7b8522854f68416f0767208.tar.bz2 nvim-lspconfig-bbc5405169005a17e7b8522854f68416f0767208.tar.lz nvim-lspconfig-bbc5405169005a17e7b8522854f68416f0767208.tar.xz nvim-lspconfig-bbc5405169005a17e7b8522854f68416f0767208.tar.zst nvim-lspconfig-bbc5405169005a17e7b8522854f68416f0767208.zip | |
docs: update adding a new server example (#1499)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lspconfig.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt index 82be54d5..d952cacd 100644 --- a/doc/lspconfig.txt +++ b/doc/lspconfig.txt @@ -349,7 +349,7 @@ The three steps for adding and enabling a new server configuration are: local configs = require 'lspconfig.configs' -- Check if the config is already defined (useful when reloading this file) - if not lspconfig.foo_lsp then + if not configs.foo_lsp then configs.foo_lsp = { default_config = { cmd = {'/home/neovim/lua-language-server/run.sh'}; |
