-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
neovim use this plugin will make a high cpu percentage #39
Comments
It will not effect neovim by this extension. The service run in separate program process. Please test with minimum vimrc |
I make a screenshot for After 10 minutes, the cpu percentage will disappear, it return back to normal. Why does this operation take so long time? If I uninstall |
set |
set |
No help, still high cpu percentage. I even try to comment all config about |
nvim version: 0.5.0(installed by homebrew) $ ps -ae | grep coc-vim
59176 ?? 0:00.17 /opt/homebrew/Cellar/node/16.8.0/bin/node /Users/hanley/.config/coc/extensions/node_modules/coc-vimlsp/out/server --node-ipc --clientProcessId=59121
59177 ?? 0:12.57 /opt/homebrew/Cellar/node/16.8.0/bin/node /Users/hanley/.config/coc/extensions/node_modules/coc-vimlsp/out/scan.js --node-ipc
59180 ttys000 0:00.00 grep coc-vim
$ nvim --version
NVIM v0.5.0
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -DNDEBUG -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 -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20210702-97973-1wtbty6/neovim-0.5.0/build/config -I/tmp/neovim-20210702-97973-1wtbty6/neovim-0.5.0/src -I/opt/homebrew/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/gettext/include -I/tmp/neovim-20210702-97973-1wtbty6/neovim-0.5.0/build/src/nvim/auto -I/tmp/neovim-20210702-97973-1wtbty6/neovim-0.5.0/build/include
Compiled by [email protected]
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.5.0/share/nvim"
Run :checkhealth for more info
$ node --version
v16.8.0 |
Please update to latest version and test again. Seems something wrong with M1 MacOS and nodejs. iamcco/vim-language-server#63 |
I have no idea. Maybe check out the LSP output channel to see if any info? |
Please tell me the step to check the info of the LSP output channel |
set |
Describe the bug
When I use this plugin on vim, it works very well, but when I use it on neovim(terminal), the cpu usage is too high and it will not return back to normal level percentage unless I quit neovim.
To Reproduce
Steps to reproduce the behavior:
*.vim
fileExpected behavior
normal cpu percentage, or let me know how to debug and fix it.
Screenshots
Desktop (please complete the following information):
following is my configuration in
~/.nvim/coc-setting.json
The text was updated successfully, but these errors were encountered: