'Vim plugins overwrite line numbers
After upgrading vim plugins. It appears that some Plugins (Ace, Gitgutter, Coc) overwrite the line numbers. The following screenshot shows the problem at line 20. A '+' has overwritten the line number instead of being placed just before it.
Do you have any idea or fix about what could cause this issue ? Sorry the question is probably not really clear. The goal is to get help pinpointing the shared component that could be responsible for the incorrect display.
Solution 1:[1]
Do you have any idea or fix about what could cause this issue ?
You said it yourself:
It appears that some Plugins (Ace, Gitgutter, Coc) overwrite the line numbers.
- Figure out what plugin is causing the issue.
 - Look for clues in its documentation.
 - If you can't find anything or nothing works, use its issue tracker.
 
Solution 2:[2]
I also had this issue by copy-pasting coc-nvim config.
The problem was caused by this part of the code
...
if has("nvim-0.5.0") || has("patch-8.1.1564")
  " Recently vim can merge signcolumn and number column into one
  set signcolumn=number
else
  set signcolumn=yes
endif
...
I just replaced it with
...
if has("nvim-0.5.0") || has("patch-8.1.1564")
  " Recently vim can merge signcolumn and number column into one
  set signcolumn=auto
else
  set signcolumn=auto
endif
...
And everything started to work as expected
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | romainl | 
| Solution 2 | Roman Mahotskyi | 

