Questions tagged [plugin-coc]

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

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
233 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
30 views

coc.nvim having issues with background color and error messages

Above is what I see in NeoVim 0.4.4 (on Ubuntu) when I get a type error using coc.nvim and the Haskell Language Server. My configuration for all background and theme related things are: syntax on ...
1
vote
0answers
304 views

NeoVim latest version autocompletion opens and closes immediately

I am new to Vim and NeoVim, I setup the latest NeoVim on MAC using brew install nvim --head. I setup the latest verison for the lsp suppport. I installed the CoC plugin and the CoC-go plugin for auto-...
1
vote
0answers
759 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
36 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
271 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....
1
vote
0answers
20 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
2k 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
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
0answers
59 views

nvim: how to manually clear popups which do not clear themselves?

While it may not be the only culprit, coc.nvim is a bit notorious for leaving popups hanging around the screen long after they should be cleared. Sometimes, as in the gif below, dangling popups will ...
0
votes
0answers
16 views

Is it possible to sort the list of recommendations on coc.vim by type?

On coc.vim, it recommends functions, classes, interfaces, properties and other things like the following: I know their types by checking the letters on the right. On the image above, I means ...
0
votes
0answers
21 views

Autocompletion not working as expected in COC-snippets

I am currently using Coc, together with a few extensions, including coc-java and coc-snippets. However I found that some of the options I see in the pop-up-menu(PUM for short). do not work as expected....
0
votes
0answers
42 views

How can use Tab to navigate completion list

I use both coc.nvim and Ultisnip for completion in vim. coc-snippet does not support some feature in Ultisnip so I use Ultisnip instead But I have a problem is <Tab> for trigger completion in ...
0
votes
0answers
22 views

How to fix fzf preview window?

I'm using SpaceVim. I use coc.nvim to find references of a variable and it uses fzf preview window to display the results because of the coc-fzf plugin . I want the fzf preview window not to be closed ...
0
votes
0answers
23 views

Coc and YouCompleteMe show errors on c++ code that compiles perfectly

I'm trying to configure vim/nvim to write c++ code in it. I've tried installing YouCompleteMe in vim, and now I tried installing COC in nvim to compare the two. I've got a c++ project which compiles ...
0
votes
1answer
126 views

Configuring coc.nvim coc-solargraph with standardrb for RSpec files

I am trying to configure coc.nvim for my vim 8.2. I mapped my formatting to leader-d with: nnoremap <Leader>d :call CocAction('format') <CR> which works fine for ruby filetype. However, ...
0
votes
0answers
23 views

Coc Diagnostic Language Server Does not underline the column with the issue

I am using clj-kondo linter and recently, the column with the error does not get underlined. Now my linting results look like this: The lines 5 and 9 correctly display that there are warning. If I ...
0
votes
0answers
47 views

coc diagnostic signs displaying incorrectly

My coc settings are practically copied and pasted from nicknisi/dotfiles. I'm using SourceCodePro from Nerd Fonts. { "suggest.enablePreview": true, "codeLens.enable": true, ...
0
votes
0answers
40 views

Conflicting suggestions on Coc.nvim with Prettier and ESLint

I am working in a team and none are using Vim. Most are use VS Code, and things are working fine for them. However, I have this problem: ticket.additionalNocs.forEach((additionalNoc) => nocs.push(...
0
votes
0answers
75 views

How do make autocompletion (Coc) work on Tab instead of Enter?

I use Coc-Python for Python autocompletions. It completes on Enter, however, I want to complete only on pressing Tab and reserve Enter for its normal behavior which is entering a new line. How do I do ...
0
votes
0answers
22 views

coc-snippets popup preview with strange content and odd formatting

Cheers! I'm having an odd problem with coc + coc-snippets and javascript. The preview popup for previews is formatted in a strange way: It shows this string "javascript.jsx" and there is no ...
0
votes
0answers
137 views

Suppress warning pop-up

I'm on Windows using gVim, Vim version: 8.2.2003. I get a warning pop-up with the following error message: Some language features are not available. To access all features, enable [strictTemplates](...
0
votes
1answer
26 views

Sending two keys in series during autocompletion confirmation

I have the following mapping: inoremap <expr><CR> pumvisible() && complete_info().selected != -1? "\<C-y>" : "\<CR>" inoremap <expr><Space&...
0
votes
0answers
102 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
162 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
1answer
103 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
59 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
1k 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
132 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
2k 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
166 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....