I don't know whether coc-sh or bash-language-server is the problem, for nearly every character I type in a shell script, a new shellcheck process is created. ALE is installed too but it is the same even when ALE is disabled. Naturally the cpu is very busy.
Here is the CocInfo:
versions
vim version: VIM - Vi IMproved 9.0 9000135
node version: v16.17.1
coc.nvim version: 0.0.82-488d6ae7 2022-09-22 01:50:53 +0800
coc.nvim directory: /home/sagirbas/.vim/plugged/coc.nvim
term: dumb
platform: linux
Log of coc.nvim
2022-10-08T08:52:58.317 INFO (pid:9117) [plugin] - coc.nvim initialized with node: v16.17.1 after 284ms
2022-10-08T08:52:58.983 INFO (pid:9117) [services] - registered service "sh"
2022-10-08T08:52:58.984 INFO (pid:9117) [services] - LanguageClient bash-language-server state change: stopped => starting
2022-10-08T08:52:59.021 INFO (pid:9117) [language-client-index] - Language server "sh" started with 9141
2022-10-08T08:52:59.202 INFO (pid:9117) [attach] - receive notification: highlight []
2022-10-08T08:52:59.465 INFO (pid:9117) [core-watchman] - watchman watching project: /home/sagirbas/repos/wpsite
2022-10-08T08:52:59.811 INFO (pid:9117) [services] - LanguageClient bash-language-server state change: starting => running
2022-10-08T08:52:59.819 INFO (pid:9117) [services] - service sh started
2022-10-08T08:53:21.783 WARN (pid:9117) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-10-08T08:53:21.975 WARN (pid:9117) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-10-08T08:53:23.174 WARN (pid:9117) [completion] - Suggest not triggered with input "", minimal trigger input length: 1
2022-10-08T08:53:23.290 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh
2022-10-08T08:53:23.399 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh
2022-10-08T08:53:23.455 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh
2022-10-08T08:53:25.158 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh
2022-10-08T08:53:25.422 INFO (pid:9117) [attach] - receive notification: highlight []
2022-10-08T08:53:26.266 WARN (pid:9117) [plugin] - Slow action "highlight" cost 841ms
2022-10-08T08:53:32.169 INFO (pid:9117) [attach] - receive notification: showInfo []
OK, I tried uninstalling coc-sh and using bash-language-server directly without coc-sh and the problem still continues. So it's not coc-sh related. So closing.
I don't know whether coc-sh or bash-language-server is the problem, for nearly every character I type in a shell script, a new shellcheck process is created. ALE is installed too but it is the same even when ALE is disabled. Naturally the cpu is very busy.
Here is the CocInfo:
versions
vim version: VIM - Vi IMproved 9.0 9000135 node version: v16.17.1 coc.nvim version: 0.0.82-488d6ae7 2022-09-22 01:50:53 +0800 coc.nvim directory: /home/sagirbas/.vim/plugged/coc.nvim term: dumb platform: linux
Log of coc.nvim
2022-10-08T08:52:58.317 INFO (pid:9117) [plugin] - coc.nvim initialized with node: v16.17.1 after 284ms 2022-10-08T08:52:58.983 INFO (pid:9117) [services] - registered service "sh" 2022-10-08T08:52:58.984 INFO (pid:9117) [services] - LanguageClient bash-language-server state change: stopped => starting 2022-10-08T08:52:59.021 INFO (pid:9117) [language-client-index] - Language server "sh" started with 9141 2022-10-08T08:52:59.202 INFO (pid:9117) [attach] - receive notification: highlight [] 2022-10-08T08:52:59.465 INFO (pid:9117) [core-watchman] - watchman watching project: /home/sagirbas/repos/wpsite 2022-10-08T08:52:59.811 INFO (pid:9117) [services] - LanguageClient bash-language-server state change: starting => running 2022-10-08T08:52:59.819 INFO (pid:9117) [services] - service sh started 2022-10-08T08:53:21.783 WARN (pid:9117) [completion] - Suggest not triggered with input "", minimal trigger input length: 1 2022-10-08T08:53:21.975 WARN (pid:9117) [completion] - Suggest not triggered with input "", minimal trigger input length: 1 2022-10-08T08:53:23.174 WARN (pid:9117) [completion] - Suggest not triggered with input "", minimal trigger input length: 1 2022-10-08T08:53:23.290 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh 2022-10-08T08:53:23.399 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh 2022-10-08T08:53:23.455 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh 2022-10-08T08:53:25.158 WARN (pid:9117) [completion-floating] - Resolve timeout after 500ms: sh 2022-10-08T08:53:25.422 INFO (pid:9117) [attach] - receive notification: highlight [] 2022-10-08T08:53:26.266 WARN (pid:9117) [plugin] - Slow action "highlight" cost 841ms 2022-10-08T08:53:32.169 INFO (pid:9117) [attach] - receive notification: showInfo []