mirror of
https://github.com/hrsh7th/cmp-nvim-lsp
synced 2024-09-16 14:34:09 +02:00
Add FAQ section
This commit is contained in:
parent
ebdfc204af
commit
e6b5feb2e6
1 changed files with 29 additions and 0 deletions
29
doc/cmp-nvim-lsp.txt
Normal file
29
doc/cmp-nvim-lsp.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
*cmp-nvim-lsp*
|
||||
|
||||
==============================================================================
|
||||
CONTENTS *cmp-nvim-lsp-contents*
|
||||
|
||||
FAQ |cmp-nvim-lsp-faq|
|
||||
|
||||
|
||||
|
||||
==============================================================================
|
||||
FAQ *cmp-nvim-lsp-faq*
|
||||
|
||||
How to disable specific LSP server's cmpletion?~
|
||||
|
||||
You can disable specific LSP server's cmpletion by adding the following
|
||||
|
||||
>
|
||||
require('lspconfig')[%YOUR_LSP_SERVER%].setup {
|
||||
on_attach = function(client)
|
||||
client.server_capabilities.completionProvider = false
|
||||
end
|
||||
}
|
||||
<
|
||||
|
||||
|
||||
|
||||
==============================================================================
|
||||
vim:tw=78:ts=2:et:ft=help:norl:
|
||||
|
Loading…
Reference in a new issue