Questions tagged [coc.nvim]
103 questions
1
vote
3 answers
How to select first item in popup menu and close menu in a single keybind for autocomplete in nvim?
I'm using coc.nvim for autocomplete and when the popup menu appears, I'd like Tab to select the first item and close the menu. At the moment I've keybinded Tab to , but the actually puts in a line return which is not what I…

doctopus
- 5,349
- 8
- 53
- 105
0
votes
1 answer
How to select neoclide/coc.nvim language server autocomplete suggestions in vim
I am using neoclide/coc.nvim plugin in vim on OSX
How do I select one of these suggestions, what is the command or shortcut to navigate and select them? I do not seem to have the ability to move around with vim standard navigation over the…

piedpipr
- 155
- 2
- 7
0
votes
1 answer
Why pyright with coc.nvim not working after opening another file?
if I immediately open the file via nvim, then everything works, but if I first open, for example, the config, and after the python file, then pyright does not work
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function()
use…

Pravoslav
- 1
- 1
0
votes
1 answer
coc-clangd disable snippet completion not working
I don't like the snippet completion that coc-clangd is providing me, so I wrote "clangd.disableSnippetCompletion": true in coc-settings.json, but it's not working. Snippets are still in my suggestion list, and even in primary positions.
Here is my…

LunarEclipse
- 661
- 1
- 4
- 14
0
votes
0 answers
How can I debug coc-tsserver to figure out why it can't find a definition?
I couldn't craft a tsconfig.json file that works with the aliases I have defined for both Parcel on package.json and storybook on .storybook/main.js.
How can I debug coc.nvim using coc-tsserver to understand how tsserver is resolving dependencies? I…

Filipe Giusti
- 2,923
- 3
- 24
- 18
0
votes
0 answers
ESlint on Nvim is not linting syntax error
I am using coc-eslint on NeoVim with the following config and I am not getting proper linting on very basic error.
.eslintrc.json
{
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
…

Karim Dhrif
- 51
- 4
0
votes
1 answer
I can't figure out how to make ccls work in vim on ubuntu
Here is my problem :
I've installed coc plugin on vim and it work perfectly with all language except with C/C++.
The problem is with C/++, ccls don't find my system libraries... (I tried with clangd too, I had the same problem).
Here is my…

Romain
- 133
- 9
0
votes
1 answer
How to expand coc.nvim incoming calls
In Coc.nvim, when I request document.showIncomingCalls, I get the tree with only one successor showing up with a + sign in its left like the following:
- f1
+ f2
How do I expand the + beside f2 to show the caller of f2 as well?

silentnights
- 813
- 3
- 11
- 21
0
votes
1 answer
Error 121 Problem with NeoVim nvim and COC
I'm trying for hours to fix this error message.
Error message 121 I receive every time I load nvim
After a :CheckHealth command in nvim, it tells me that this has to do with COC, COC is impossible to initialize
:CheckHealth in nvim
I am using Ubuntu…
0
votes
1 answer
How to solve the link error caused by broken lines?
I can't open a link completely. How can I solve it?
My_enviroment: neovim v0.6.1,coc.nvim,ubuntu22.04LTS
My mother tongue is not English, please understand the subtle grammatical errors.Thanks you!
I hope I can open the link completely.

Awjl
- 1
- 1
0
votes
1 answer
Scope of (coc-references) don't search on entire project folder
Using coc.vim feature (coc-references) on the name of classA or any other one, it seems to search and find references only on local file ClassA.cpp, not on entire project folders'…

N i c o l a s
- 15
- 6
0
votes
0 answers
Haskell Language Server prompts on nvim persist
I'm using the Haskell language server with coc.nvim with neovim as a dev environment. However, sometimes the prompts proposed by the language server, eg. "[typecheck -Wunused-matches] ..." persist on the display overlayed over the nvim window.
I was…

adi
- 1
- 1
0
votes
1 answer
nvim coc-eslint .eslintrc with prettier/prettier sets double quotes instead of single quotes
I need to apologize in advance because I am totally confused at the moment. I've been wrangling with my .eslintrc.json (at the end of my post) for several hours now.
All I want, is to set single quotes. To my understanding single quotes are part of…

LongHike
- 4,016
- 4
- 37
- 76
0
votes
0 answers
Vim : chain a second command after the first one is done
I am trying to use Vim as my main IDE. For that, I installed vim-plug, and COC.
This allows me to call those two commands :
:CoCCommand tsserver.organizeImports
:CoCCommand prettier.formatCode
I nnorremap them both to some leader binding and…
user17740968
0
votes
2 answers
How can i use neovim and coc.nvim for develop windows c++ apps on linux
I develop c++ apps on linux and i use neovim with coc.nvim and coc-clangd plugins.
I want to develop an app for windows but i comfort with linux and neovim so i want to use them for it. But i get some include errors with some windows headers (etc.…

sabenburra
- 93
- 1
- 3
- 6