They are column signs set by Coc to highlight warnings or errors detected by the language server.
You can control their appearance using the :CocConfig
command that let you edit the ~\vimfiles\coc-settings.json
:
{
"diagnostic.errorSign": "⚡",
"diagnostic.warningSign": "▲",
"diagnostic.infoSign": "?",
"diagnostic.hintSign": "!",
}
If you have the following settings in your _vimrc
:
nmap <silent> [g <Plug>(coc-diagnostic-prev)
nmap <silent> ]g <Plug>(coc-diagnostic-next)
you can navigate the warnings and errors detected by the language server using the ]g
, [g
key combination.
When you navigate through the diagnostic (you can also navigate with the cursor) you get hints about the diagnostics:
You can get also a list of all the diagnostic with the following commands:
:CocList diagnostics
:version
). Depending of the version you are using Coc can use some Vim functionalities to give more hints about these warning and errors.