iamcco / iamcco/coc-vimlsp

neovim use this plugin will make a high cpu percentage

Open
#39 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
217
Forks
7
PR merge metrics
No merged PRs in 30d

Description

**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:

1. CocInstall coc-vimlsp
2. enter any `*.vim` file

**Expected behavior**

normal cpu percentage, or let me know how to debug and fix it.

**Screenshots**
![image](https://user-images.githubusercontent.com/35610874/132186569-90cbfb9c-32f1-4f3f-8e3a-a50e3493d9dd.png)

**Desktop (please complete the following information):**
- OS: MacOS

following is my configuration in `~/.nvim/coc-setting.json`

```json
// coc-vimlsp
"vimlsp.trace.server": "off",
"vimlsp.debug": false,
"vimlsp.diagnostic.enable": true,
"vimlsp.suggest.fromVimruntime": true,
"vimlsp.suggest.fromRuntimepath": true,
"vimlsp.indexes.gap": 100,
"vimlsp.indexes.count": 1,
"vimlsp.indexes.runtimepath": true,
"vimlsp.indexes.projectRootPatterns": [
".git",
"autoload",
"plugin"
],
"vimlsp.filetypes": [
"vim"
],
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.