Questions tagged [coc.nvim]
103 questions
0
votes
1 answer
coc.nvim selected suggestion background color
The background color of the currently-selected-suggestion does not contrast enough with the text to be readable. How can this be fixed?
Setting Pmenu and/or PmenuSel in does NOT improve the situation, as neither change this background color.
.exrc…

J. McNerney
- 576
- 4
- 15
0
votes
2 answers
Go: vim autocomplete command don't works
autocomplete in vim doesn't work when I hit ENTER and the cursor go to the next line.
this is my .vimrc configuration: https://github.com/marcosvidolin/dotfiles/blob/master/.vimrc
Popup example:
Thanks

Marcos Vidolin
- 186
- 4
- 21
0
votes
1 answer
Importing AppKit.h: function does not return NSString
I am using Nvim to try and develop a Mac application. I have just imported AppKit.h to instantiate a sharedApplication.
I am using coc-clangd for autocompletion. I am getting the following error when I import AppKit.h.
In included file: function…

Debabrata Mondal
- 101
- 4
- 12
0
votes
1 answer
Nvim Coc: How to change matching text color in suggestion box
This is what the official repo of coc.nvim gives as documentation for Coc configuration.
An update changed the option names, and the defaults, I'm willing to revert it, but I'm out of ideas. This is what my suggestions look like. I want to change…

Quinten Bons
- 3
- 3
0
votes
1 answer
Tmux, Nvim or Windows Terminal puts some lines on the wrong pane
I've been using nVim and tmux for a while now, but recently I've been having some problems. I seem to be getting some weird artifacts across my IDE which usually involve misplaced or duplicated lines.
Below, you can see an example of the…

Cal Courtney
- 1,279
- 2
- 10
- 22
0
votes
0 answers
coc.nvim throwing error on startup of nvim after update "E15: Invalid expression: exists('g:did_coc_loaded') || v:version < 800^M"
I don't know what happened here, but before I did 'PlugInstall' everything was fine.
now I'm getting this when starting up nvim:
Error detected while processing /home/rcrod/.vim/plugged/coc.nvim/plugin/coc.vim:
line 2:
E15: Invalid expression:…

rodelcabs
- 52
- 4
0
votes
1 answer
pyright not autocompleting dlib for python
Specs:
Mac M1 Pro
Dlib installed with conda (also tried pip3 and it gave the same results)
Vscode and coc.nvim using pyright (both using the same language server)
python 3.9.12
import dlib
dlib.get_frontal_face_detector()
Currently, when I run…

William Randall
- 81
- 9
0
votes
1 answer
coc.nvim autocompletion for threejs
i want autocompletions for three.js in nvim , kind of like the autocompletions we get if we open three.js file on a split window on vim [still not good], i searched in coc language plugins list, i cant find a plugin which satisfy my…

ANDuser
- 71
- 8
0
votes
2 answers
Where should the erlang_ls.config go
I want to use coc.nvim and elrang_ls in vim8.2. There are some problems. It report missing an erlang_ls.config when I open a erlang file. But i have erlang_ls.config in project root.
the result of CocCommand workspace.showOutput show it read config…

bad.shadow
- 33
- 5
0
votes
1 answer
How do I persistently change coc.nvim colours from my ~/.config/nvim/init.vim?
I understand that I can change my coc.nvim colours from inside neovim, but how do I do so permanently from the init.vim file (or otherwise), so that they're changed automatically every time I open the editor?
Default colours poor for legibility:

Thomas Browne
- 23,824
- 32
- 78
- 121
0
votes
0 answers
Getting Server languageserver.ccls failed to start: error, when ever I open cpp file inside neovim
Server languageserver.ccls failed to start: Launching server "languageserver.ccls" using command ccls failed.
I have installed coc-ccls, and I have pasted the below code inside the cocconfig file.
{
"languageserver": {
"ccls": {
…

themujahidkhan
- 27
- 1
- 8
0
votes
1 answer
Fix vim coc including headers in C files
I am using vim with coc vim for the autocompletion.
Coc is just great with python, java etc, and it is really easy to install and use.
However while coding in C, i noticed that sometimes coc-clangd adds a header on its own at the beginning (for…

Wil123
- 49
- 7
0
votes
1 answer
Im getting an Error running CocSearch in nvim
Does any one know what this error means?
im getting this error when running:
:CocSearch query
Output:
[coc.nvim]: Error on "search": spawn rg ENOENT

Mario Campbell
- 1
- 1
- 1
0
votes
1 answer
coc.nvim: 'self', numbers([0-9]) and strings don't show in CocAction(doHover) show_documentation(?)
coc.nvim: The word 'self', numbers([0-9]) as well as strings don't show in CocAction(doHover); the attached image as an example. This is the case in parameters and arguments in documentation provided by coc.nvim for rust analyzer.
When I highlight…

0xba1
- 76
- 1
- 7
0
votes
1 answer
Does coc.nvim can autocomplete known methods' arguments in Python?
I'm using vim with coc.nvim and the coc-python plugin.
In Pycharm for example, when I write a contextmanager class like:
class Foo:
def __init__(self) -> None:
pass # some code
def __enter__(self):
pass # some code
def…

Corel
- 581
- 3
- 21