update README.md issue#93

This commit is contained in:
ray-x 2021-11-03 15:26:08 +11:00
parent 4c7e7f683d
commit 63bbdf4cf2

View File

@ -193,6 +193,26 @@ EOF
```
## Work with nvim-cmp and nvim-autopairs
The buffer type of navigator floating windows is `guihua`
I would suggest disable `guihua` for autocomplete.
e.g.
```lua
require('nvim-autopairs').setup{
disable_filetype = { "TelescopePrompt" , "guihua", "clap_input" },
if vim.o.ft ~= 'clap_input' and vim.o.ft ~= 'guihua' then
require'cmp'.setup.buffer { completion = {enable = false} }
end
...
}
```
## All configure options
Nondefault configuration example:
```lua