Reputation: 51
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.
Upvotes: 4
Views: 944
Reputation: 6655
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
Upvotes: 4
Reputation: 196691
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.
Upvotes: 2