Questions tagged [coc.nvim]

GitHub Links

Online Chat

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

103 questions
20
votes
3 answers

Coc.nvim how to disable auto complete suggestions in markdown files?

I am trying to setup Neovim with Coc for writing markdown. I have Coc working with javascript and other file types. What I am trying to do is disable the autocomplete suggestions only for markdown files. I have found that if I run :CocDisable that…
Eugene Grechko
  • 303
  • 2
  • 6
19
votes
2 answers

How to change coc.nvim floating window colors?

I'm using coc.nvim plugin for C++ in my vim editor, here it's showing error but its colors hurt my eyes, I've been searching for solution but still don't know how to customize the colors cocnvim floating window color
Hoang Minh
  • 193
  • 1
  • 1
  • 5
8
votes
1 answer

Vim ESLint not approved or denied yet

I am new to vim and stumble across a problem. I was working on another TS project and ESlint worked fine and I even enable format on save. But upon changing the project, the linter stopped working and I no longer have the format on save or any type…
Pedro Dimas
  • 517
  • 1
  • 3
  • 11
8
votes
2 answers

How to use nvim command if neovim is installed using appimage?

I have installed nvim using AppImage mentioned as below curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage chmod u+x nvim.appimage ./nvim.appimage if i use nvim test,yml ,it fails as '-bash: /usr/bin/nvim: No such…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
8
votes
7 answers

Setting up coc.nvim for python

I have installed coc.nvim and extension coc-python(:CocInstall coc-python) When I opened file I refused of linting and then get error: [coc.nvim] Jedi error: Traceback (most recent call last): …
yalef
  • 95
  • 1
  • 1
  • 6
8
votes
1 answer

Working with single file rust using rust-analyzer

I'm trying to make rust-analyzer (with Neovim) work with a single Rust file. I know that using Cargo should be the default, but I'm trying to solve problems like the ones from project euler, where making a project for each problem seems like an…
Jay Lee
  • 1,684
  • 1
  • 15
  • 27
7
votes
1 answer

vim 8, UltiSnips and coc-ultisnips: `${VISUAL}` does nothing

Using vim 8, Ultisnips, and coc-ultisnips. Consider this snippet: snippet cdeg "Add console.debug({})" console.debug(${0:${VISUAL:value}}) endsnippet I would expect it to expand cdeg to console.debug(value). The problem is if I have that…
Pierre
  • 580
  • 3
  • 19
7
votes
3 answers

How to make coc show linting popup no matter where the cursor is on the line?

I recently moved from ALE to coc.nvim as the intellisense was not that great with ALE. But i see one problem with the error or warnings popup. The cursor needing to be exactly on the underlined error. Is there a way i can make coc show the popup no…
Adithya Sama
  • 345
  • 3
  • 16
6
votes
2 answers

How to configure clangd to find missing external header file?

I am a novice user of clang tools and I am learning c/c++. I have some code that is based on a framework that uses its data structure and build system ( OpenFOAM). I compiled the framework's libraries in a folder in home directory. This framework…
Ali
  • 366
  • 4
  • 11
6
votes
3 answers

Vim warning: Looks like you've configured clangd in coc-settings.json, you should remove it to use coc-clangd

I 've recently started to code on Vim and while it's not easy, it's worth it. I am struggling to figure out basic things that I had for granted in an IDE like KDevelop or VSCode especially when it comes to browsing the code by finding references,…
Petross404
  • 177
  • 1
  • 12
6
votes
2 answers

How to remap CoC VIM autocomplete key?

I am trying to remap the autocomplete key from the "Enter" key to "TAB" because I keep autocompleting when I intend to go to the next line. The code below is the default option for coc, and I think this is where I should be able to remap the key. "…
christofuy
  • 131
  • 3
  • 7
6
votes
1 answer

Clangd is not found in VIM using neoclide / coc.nvim

I typed in Vim :CocInstall coc-clangd Complains about clangd is not installed sudo apt-get install clangd-10, also i installed clangd-9 still same error appears reboot still same error clangd is not found, you need to install clangd first Is there…
Oprea Catalin
  • 97
  • 1
  • 6
5
votes
1 answer

Pyright, report missing imports error in neovim

I'm getting this error, which doesn't make sense because the libraries are installed, and the correct python interpreter path is selected. I have no clue where the issue could be.
gxp2
  • 149
  • 2
  • 11
5
votes
1 answer

Neovim for Django: metaclasses are not recognized

Image of Error Message in Neovim I have been trying to configure my neovim for django development and everything seems fine except for this issue I am having with fields in metaclasses. the image provided gives a snapshot and the code is as…
umar tung
  • 51
  • 3
4
votes
0 answers

How do I format using standardjs in coc.nvim?

I need to use StandardJs for linting a TS project's files. I use coc.nvim. I've read multiple SO posts and articles about setting up coc.nvim with ESLint to get it to lint on fileSave, but I cannot find anything with regards to StandardJS. How can I…
almel
  • 7,178
  • 13
  • 45
  • 58
1
2 3 4 5 6 7