Improve docs

This commit is contained in:
hrsh7th
2023-03-17 13:22:04 +09:00
parent feed47fd1d
commit 777450fd0a

View File

@@ -821,6 +821,17 @@ How to disable the preselect feature? ~
preselect = cmp.PreselectMode.None preselect = cmp.PreselectMode.None
} }
< <
How to disable only specific language-server's completion?~
You can disable `completionProvider` in lspconfig configuration.
>lua
lspconfig[%SERVER_NAME%].setup {
on_attach = function(client)
client.server_capabilities.completionProvider = false
end
}
<
How to disable commitCharacters?~ How to disable commitCharacters?~