mirror of
https://github.com/ray-x/navigator.lua
synced 2024-11-05 12:00:21 +00:00
update README.md issue#93
This commit is contained in:
parent
4c7e7f683d
commit
63bbdf4cf2
20
README.md
20
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
|
||||
|
Loading…
Reference in New Issue
Block a user