This commit is contained in:
hrsh7th
2022-03-02 12:13:01 +09:00
parent 45e93cdf57
commit 1001683bee

View File

@@ -612,6 +612,20 @@ You can create custom source like the following example.
============================================================================== ==============================================================================
FAQ *cmp-faq* FAQ *cmp-faq*
Why does cmp automatically select a particular item? ~
How to disable the preselect feature? ~
The nvim-cmp respects LSP(Language Server Protocol) specification.
The LSP spec defines the `preselect` feature for completion.
You can disable the `preselect` feature like the following.
>
cmp.setup {
preselect = cmp.PreselectMode.None
}
<
How to disable auto-completion?~ How to disable auto-completion?~
How to use nvim-cmp as like omnifunc?~ How to use nvim-cmp as like omnifunc?~