neoclide / coc-html

Html language server extension for coc.nvim.
208 stars 6 forks source link

Wrong auto completion #16

Closed jongheeyun closed 4 years ago

jongheeyun commented 4 years ago

When I press tab wrong text comes out like below.

Screen Shot 2020-06-16 at 6 40 24 AM

Reproduce steps: 1) run nvim 2) open index.html 3) split window and open css file (:vsp) 4) input any css tag and tab like this: background-col[TAB] to complete property name than wrong text comes out.

It's hard to say why but it does not occurs if I didn't slipt the window.

:version NVIM v0.4.3 Build type: Release LuaJIT 2.0.5 Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-param eter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDEGENERATED DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/config -I/tmp/neovim-20191107-85913-1wbgqz 6/neovim-0.4.3/src -I/usr/local/include -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/deps-build/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/D eveloper/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/src/nvim/auto -I/tmp/neovim-20191107-85913-1 wbgqz6/neovim-0.4.3/build/include Compiled by brew@Catalina.local

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.4.3/share/nvim"

Run :checkhealth for more info

chemzqm commented 4 years ago

Your key-mapping is borken, checkout :h verbose