From 63bbdf4cf2cd52af50833bff9f7a868c2b9fb743 Mon Sep 17 00:00:00 2001 From: ray-x Date: Wed, 3 Nov 2021 15:26:08 +1100 Subject: [PATCH] update README.md issue#93 --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 27f44a1..ab080f2 100644 --- a/README.md +++ b/README.md @@ -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