I have recently installed COC extension to vim and I am enjoying so far, but I started to have a problem once I had installed the COC extension for java and clang.
So after the very moment after I typed
:CocInstall coc-java coc-clangd
as a command, every window that I opened inside vim started to show some strange name at the bottom of each window that I opened. And that used to be where the filename appears! Now I cannot easily check which window is showing which file. An illustration is shown below. The part where red arrow points at used to show the actual file names. Now it displays JDT.LS, which is what I have no idea about. Any help would be grateful. Thank you!
:verbose set statusline?
and:scriptnames
? Those will tell you from which script'statusline'
was last set, and what scripts have been loaded, respectively.statusline=%{coc#status()}%{get(b:, 'coc_current_function','')} Last set from ~/.vimrc line 240
So I went to see the following lines which wasset statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
After commenting it, the file name shows as expected! TQSM!