Questions tagged [coc.nvim]

GitHub Links

Online Chat

https://gitter.im/neoclide/coc.nvim

103 questions
0
votes
1 answer

Error CocAction("extensionStats") does not work

Every time I enter neovim in windows 10 to a .js file I get this error: Error detected while processing function SwitchFlowOrTsLsps[1]..CocAction: line 2: E605: Exception not caught: coc.nvim not ready when invoke CocAction "extensionStats" In…
KSIER45
  • 129
  • 1
  • 1
  • 6
0
votes
0 answers

coc-nvim empty actions, implementation and type definition provider not found

I have coc.nvim with pyright and vetur installed. I have the following in my .vimrc nmap gd (coc-definition) nmap gy (coc-type-definition) nmap gi (coc-implementation) nmap gr…
fbence
  • 2,025
  • 2
  • 19
  • 42
0
votes
1 answer

How can i make coc.nvim check code's semantics in insert mode?

So I'm using neovim(v0.4.3) and Coc.nvim(v0.0.79) and clangd with C++ and C . The problem is that the syntax checking highlights errors only in normal mode. meaning that i have to type my statements in insert mode and then go to normal to see if i…
0
votes
1 answer

CoC not sending autocomplete request message to language server

My nvim autocomplete window is not coming up when editing C++ code. I've been trying to follow this debugging guideline but I haven't had much success. I'm using the Kythe language server configured as follows in coc-settings.json: { …
jeanluc
  • 1,608
  • 1
  • 14
  • 28
0
votes
1 answer

How to change bindings in the "choose action" menu in coc.nvim?

this is in my init.vim nmap ca (coc-codeaction-line) which opens a small menu of actions to choose from, i want to map said menu to use for scrolling down and for scrolling up is this possible?
Akuseru
  • 13
  • 7
0
votes
2 answers

Coc: Change setting from key or script

Is there a way to change a Coc settings from script? Extension options are normally stored in the coc-settings.json file. If you want to toggle a specific setting it is slow to open the file, edit and save. Preferable I would like to be able to map…
johsa
  • 21
  • 2
0
votes
1 answer

VIM: How to filter diagnostics on COC.nvim?

I am trying to filter warning messages that warns me for semicolon and parenthesis on a CSS language server to make it work on SASS files.
0
votes
1 answer

Can't install coc-definitions?

I'm using neovim and installed the coc plugin, I have the following in my .vimrc Plug 'neoclide/coc.nvim', {'branch': 'release'} let g:coc_global_extensions = ['coc-emmet', 'coc-css', 'coc-html', 'coc- json', 'coc-tsserver',…
user7496931
  • 1,347
  • 3
  • 15
  • 32
-1
votes
1 answer

Using :CocSearch for pattern with backslashes

How do I do a search through :CocSearch for anything containing backslashes? i.e: Module\Auth
javier_domenech
  • 5,995
  • 6
  • 37
  • 59
-1
votes
1 answer

Why can't I change a coc/neoclide key binding in Vim 8.1?

I love having a hotkey to format all of the code I'm using. I'd prefer having it on the lower case "f" button. I tried imitating the code given in the default config (the one which creates a new "Format" command) to bind it to "f", but it doesn't…
VictoriaStudios
  • 135
  • 1
  • 9
-1
votes
1 answer

coc.nvim doesn't work when I split a window in vim

This is my first question on stackoverflow, If there is any mistake, please forgive me and tell me what mistakes I made. I used coc.nvim to automatically complete my golang source. When I typing this vim main.go , it works normally, but after…
-1
votes
1 answer

How to tell vim's intellephense about phpunit classes and methods etc?

I'm using coc-phpls with coc.nvim on neovim to provide intellephense php language server functionality. It works well, except when I'm working on phpunit code because phpunit includes a load of symbols that the language server can't parse/know…
artfulrobot
  • 20,637
  • 11
  • 55
  • 81
-2
votes
1 answer

Coc.nvim suggestion box typing error with ^Z

First of all, I'm sorry for my poor english. But I really want to solve this problem. I'm VIM user in M1 Mac, and I use coc.nvim Problem : ^Z is force inserted when I continue typing with coc-suggestion box. screenshot down below; Before more…
1 2 3 4 5 6
7