Questions tagged [plugin-coc]

Intellisense engine for vim8 & neovim, full language server protocol support as VSCode

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
220 views

(coc.nvim) RLS warning: …use crate_blacklist instead

I've got a warning on start: [coc.nvim] RLS configuration option use_crate_blacklist is deprecated: use crate_blacklist instead Probably I have to put into my coc-settings.json "rust.crate_blacklist"...
1
vote
0answers
47 views

How to use colored icons for autocomplete menu nvim.coc?

I am using neovim-qt for typescript react development. From last week I am configuring my neovim. I have configured coc.nvim which is giving pretty good autocompletion. I wanted to add icons for ...
1
vote
0answers
31 views

How to change colour of reference counts next to definitions

I'm using CoC with the elm-language-server, and I've found that for each top level definition, at the end of the line I have an extra annotation printed that gives a reference count and whether it's ...
1
vote
0answers
14 views

Signature pop-up describes dataclass as “The most base type”

I'm using coc-python for Python IDE-like features. If I define a dataclass I would expect the signature pop-up to show me which fields an instance of this class expects. Instead I get: MyClass() ------...
1
vote
0answers
501 views

View pylint errors using coc and neovim

For the following code there is an error in the gutter, but I don't know how to view the actual message for it. Similarly here: In the bottom right of the editor are warnings and errors: But I don'...
1
vote
0answers
718 views

How to format files on save using black with neovim and coc

I'm trying to have python files format on save using black and neovim, with coc. Coc config I have the following coc config: { "coc.preferences.useQuickfixForLocations": true, "coc....
1
vote
1answer
2k views

Correct way to setup python version for coc

I want to set PYTHONPATH and python interpreter according to projects I am working on. I am working both on projects involving python 2.0, and ones involving python 3.0. There is the concept of ...
0
votes
1answer
171 views

coc.nvim with pyright

I have coc.nvim with pyright installed. I added the following to my .vimrc nmap <silent> gd <Plug>(coc-definition) nmap <silent> gy <Plug>(coc-type-definition) nmap <silent&...
0
votes
0answers
23 views

How to display additional info for a completion option in second popup menu

The coc.nvim plugin has a really cool feature where the completion, or at least the python completion, will have additional information about the option in a second popup menu. I have looked through a ...
0
votes
0answers
27 views

Making clangd LSP recognizing GNU-specific headers

I have coc.nvim installed for autocompletion in vim. I usually include bits/stdc++.h(GNU-specific) in my files for competitive programming. I use the g++ compiler so I have no trouble there, but since ...
0
votes
0answers
75 views

Getting LSP running for Julia using Coc-Plugin

so I'm trying to get LSP working for Julia using the CoC Plugin. It works for python or HTML. So I'm using: Coc-Plugin: https://github.com/neoclide/coc.nvim CoC-Extension (coc-julia): https://github....
0
votes
0answers
33 views

why use coc and not only the single plugins providing code completion for a language

currently, I'm trying to wrap my head around the necessity of the coc plugin, since if I have it installed it still needs e.g. for LaTeX support the coc-vimtex plugin (which I get is necessary since ...
0
votes
0answers
33 views

coc.nvim - no rome found in your project root

I have the latest version of Ubuntu and recently installed vim. I'm trying to get coc.nvim to work. See https://github.com/neoclide/coc.nvim . This is an autocompletion package (and then some) for vim ...
0
votes
0answers
24 views

clang_complete: No python support available

I have installed SpaceVim. My init.toml file looks as follows: #============================================================================= # dark_powered.toml --- dark powered configuration example ...
0
votes
0answers
80 views

Why gd highlights instead of going to definition?

I've noticed the keymap nmap <silent> gd <Plug>(coc-definition) will highlight similar to nnoremap <leader>* :CocSearch <C-R>=expand("<cword>")<CR><CR&...
0
votes
0answers
700 views

coc-snippets not expanding/loading custom snippets

I've downloaded a bunch of custom snippets to ~/.custom/snippets/. My snippet files are named python.snippets, cpp.snippets, etc. I don't have ultisnips or any other snippet plugin installed, just coc....
0
votes
1answer
86 views

Prioritize TabNine autosuggestion over Intelephense with Coc

I am trying to configure TabNine and Intelephense with coc. I like the autosuggestions offered by TabNine. But Intelephense plugin is enabled, I am seeing suggestions from only Intelephense and not ...
0
votes
0answers
1k views

coc not working in latest vim

I've installed coc following the instruction, using Vim-Plug (before that I did it without installing yarn and with kite still (partially) installed. I got a 'javascript file not found' error So I ...
-1
votes
1answer
142 views

(coc.nvim) error: Warning: The 'x' rule requires type information

I'm using coc.nvim for react (typescript) development. I have installed following coc plugins. coc-tslint-plugin coc-tsserver coc-prettier tslint integration is enabled for prettier in coc-settings....