confusing action on working with complete
Yiklek opened this issue · comments
Yiklek commented
2021-02-14.21.30.56.mov
my config for coc-pairs
autocmd FileType markdown let b:coc_pairs_disabled = ['`']
coc.nvim version :a336a8
neovim version :
NVIM v0.4.4
Build type: Release
LuaJIT 2.0.5
Compilation: /Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/Users/travis/build/neovim/bot-ci/build/neovim/build/config -I/Users/travis/build/neovim/bot-ci/build/neovim/src -I/Users/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/usr/local/opt/gettext/include -I/Users/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/Users/travis/build/neovim/bot-ci/build/neovim/build/include
编译者 travis@Traviss-Mac-6.local
Features: +acl +iconv +tui
See ":help feature-compile"
系统 vimrc 文件: "$VIM/sysinit.vim"
$VIM 预设值: "/share/nvim"
Run :checkhealth for more info
checkhealth:
health#coc#check
========================================================================
- OK: Environment check passed
- OK: Javascript bundle build/index.js found
- OK: Service started
health#floaterm#check
========================================================================
## common
- INFO: Platform: macos
- INFO: Nvim: NVIM v0.4.4
- INFO: Plugin: fatal: invalid gitfile format: /Users/yiklek/.vim/.git
## terminal
- OK: Terminal emulator is available
## floating
- OK: Floating window is available
health#nvim#check
========================================================================
## Configuration
- OK: no issues found
## Performance
- OK: Build type: Release
## Remote Plugins
- OK: Up to date
## terminal
- INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
- INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
- INFO: $TERM_PROGRAM='iTerm.app'
- INFO: $COLORTERM='truecolor'
health#provider#check
========================================================================
## Clipboard (optional)
- OK: Clipboard tool found: pbcopy
## Python 2 provider (optional)
- INFO: pyenv: Path: /Users/yiklek/.pyenv/libexec/pyenv
- INFO: pyenv: Root: /Users/yiklek/.pyenv
- WARNING: No Python executable found that can `import neovim`. Using the first available executable for diagnostics.
- ERROR: Python provider error:
- ADVICE:
- provider/pythonx: Could not load Python 2:
/usr/bin/python2 does not have the "neovim" module. :help |provider-python|
/usr/bin/python2.7 does not have the "neovim" module. :help |provider-python|
python2.6 not found in search path or not executable.
/Users/yiklek/.pyenv/shims/python does not have the "neovim" module. :help |provider-python|
- INFO: Executable: Not found
## Python 3 provider (optional)
- INFO: pyenv: Path: /Users/yiklek/.pyenv/libexec/pyenv
- INFO: pyenv: Root: /Users/yiklek/.pyenv
- INFO: Using: g:python3_host_prog = "/Users/yiklek/.cache/ovim/python3-venv/bin/python"
- INFO: Executable: /Users/yiklek/.cache/ovim/python3-venv/bin/python
- INFO: Python version: 3.9.1
- INFO: pynvim version: 0.4.2
- OK: Latest pynvim is installed.
## Ruby provider (optional)
- INFO: Ruby: ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
- WARNING: `neovim-ruby-host` not found.
- ADVICE:
- Run `gem install neovim` to ensure the neovim RubyGem is installed.
- Run `gem environment` to ensure the gem bin directory is in $PATH.
- If you are using rvm/rbenv/chruby, try "rehashing".
- See :help |g:ruby_host_prog| for non-standard gem installations.
## Node.js provider (optional)
- INFO: Node.js: v11.13.0
- INFO: Neovim node.js host: /Users/yiklek/.nvm/versions/node/v11.13.0/lib/node_modules/neovim/bin/cli.js
- OK: Latest "neovim" npm/yarn package is installed: 4.9.0
Qiming zhao commented
Bad vim configuration, try minimal vimrc
Yiklek commented
That's because I use roxma/vim-paste-easy, which can set paste mode automatically when typing fast.
I found a similar issue neoclide/coc.nvim#1033. It was solved by avoiding completion in paste mode. But there is still a conflict when using coc-pairs
and roxma/vim-paste-easy
together.
Is there any way to resolve this conflict?