Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 194c7ef

Browse files
authored
Merge pull request #311 from teto/fix-doc
doc: update nvim-lsp by nvim-lspconfig
2 parents 936bbd1 + af41d60 commit 194c7ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/completion-nvim.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ FEATURE *completion-features*
3333
PREREQUISITES *completion-prerequisites*
3434

3535
- Neovim 5.0
36-
- You should be setting up language server with the help of nvim-lsp
36+
- You should be setting up language server with the help of nvim-lspconfig
3737

3838
==============================================================================
3939
SETUP *completion-setup*
4040

4141
- completion-nvim requires several autocommands set up to work properly, you
4242
should set it up using the `on_attach` function like this.
4343
>
44-
lua require'nvim_lsp'.pyls.setup{on_attach=require'completion'.on_attach}
44+
lua require'lspconfig'.pyls.setup{on_attach=require'completion'.on_attach}
4545
4646
- Change `pyls` to whichever language server you are using.
4747

0 commit comments

Comments
 (0)