Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [plugin-coc]

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

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
3k 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'...
baxx's user avatar
  • 1,025
2 votes
1 answer
559 views

Neovim lsp configuration

I'm a beginner in Vim/Neovim world. I understand that LSP is for autocompletion, auto import, signature info, etc... So I have installed coc.nvim. But I have some question about the concept : if I ...
Hadock's user avatar
  • 143
2 votes
0 answers
402 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 ...
colorissues's user avatar
2 votes
0 answers
445 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....
xotix's user avatar
  • 143
2 votes
0 answers
249 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"...
Alexey Orlov's user avatar
2 votes
1 answer
3k 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 ...
Maheer Ali's user avatar
1 vote
1 answer
124 views

coc.nvim build/index.js not found please install dependencies and compile coc.nvim by npm ci

how to fix this guys? its my first time to use nvim.. vscode is so laggy on my laptop
user50775's user avatar
1 vote
0 answers
31 views

Neovim - coc-html keeps inner html head and body tags indented

When I create filename.html file and type enter after the html tag, coc-html keeps inner content of html tag indented: <html> <head> <title>test</title> </...
whiteman808's user avatar
1 vote
1 answer
368 views

How to use coc-jedi to help coc-pyright jump to pytest fixture definitions?

I really enjoy coc-pyright and use it all the time for everything. But it can't jump to Pytest fixture definitions, and there are no plans to include such a feature. Pyright doesn't include any ...
LondonRob's user avatar
1 vote
0 answers
378 views

coc-java server gets crashed

I'm trying to use vim and coc to work with java. I'm new on java language and this is confusing. I installed coc and node to use the coc-java server. Next I use CocConfig and write this to it: { &...
StandardIO's user avatar
1 vote
0 answers
991 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-...
Pharaoh's user avatar
  • 141
1 vote
0 answers
136 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 ...
Igid's user avatar
  • 119
1 vote
0 answers
328 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 ...
Prismavoid's user avatar
1 vote
0 answers
30 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() ------...
LondonRob's user avatar
0 votes
1 answer
34 views

Neovim coc-html don't use auto-closing tag for macros?

I am using neovim and coc.vim for lsp. Also for html used coc-html. But i have an bug, when write or use macros, have 2 closing tags. How can i disable this behaviour? Thanks in advance.
serii 's user avatar
  • 91
0 votes
2 answers
509 views

coc.nvim: how to turn off the errors displayed inline?

I've just recently started using CoC.nvim for TypeScript development. Ideally I'd like the error to only be in the location list, which I have working as shown. The sign column and the location list ...
dpw's user avatar
  • 109
0 votes
0 answers
30 views

Install coc.nvim on Raspberry Pi 4B on Pi OS

I have successfully installed vim and two plugins on my raspberry pi 4b with Pi OS (linux). But when I installed coc.nvim vim gave an error (error code 1) and then showed erratic behaviour. Am I doing ...
ABM K's user avatar
  • 101
0 votes
0 answers
21 views

Shortcut keys sometimes type commands into the buffer for the file I am editing

I'm using gvim with the included mswin.vim keybindings, so Ctrl+S AKA C-S will save the buffer. It provides these mappings. " Use CTRL-S for saving, also in Insert mode (<C-O> doesn't work ...
interfect's user avatar
  • 163
0 votes
0 answers
121 views

Coc Nvim automatically select all text between tags

I have mapped esc to < C-J> in .vimrc and whenever I try to go to normal mode after inserting some text inside any html tag using that mapping it selects all the character between that tag like ...
Anurag Yadav's user avatar
0 votes
0 answers
59 views

How can I enable html autocomplete in .tmpl files?

I'm editing .tmpl files which are mostly html with some template language syntax inside {{ double curly braces }}. I'm using COC for autocompletion and I want to be able to use the autocomplete ...
hermancain's user avatar
0 votes
0 answers
766 views

Coc.nvim doesn't work correctly

Yesterday, I installed coc.nvim in vim on windows. I remember that it showed up the suggestion tab. But today, I removed go and visual studio, then it didn't show up anymore. I tried to reinstall Go, ...
Anh Nguyen's user avatar
0 votes
0 answers
88 views

Clojure-lsp in vim - outdated message box doesn't go away?

I recently added the coc extension for clojure. When I opened Vim it asked me to install clojure-lsp from Github. I did that. Now, every time I open my nvim with a clojure file I get a warning to ...
Vinn's user avatar
  • 781
0 votes
0 answers
615 views

coc.nvim and formatSelected with golang not working

Getting this error message when running the shortcut: [coc.nvim]: Error on "formatSelected": formatRange provider not found for current buffer, your language server doesn't support it. ...
unsafe_where_true's user avatar
0 votes
0 answers
65 views

forced inserted ^Z in coc

I'm using the plugin coc for autocompletion. My problem is that when coc opens the pop up menu with the completion items and I continue typing then a ^Z character is inserted in the buffer as shown in ...
JangLuna's user avatar
0 votes
0 answers
299 views

How can I config vim to show me value of a variable / const?

I have a vim configuration with COC installed where I can gd to jump to a definition. How can I config it, so it will, upon hovering on the word (with cursor, not mouse), will do the following: if is ...
CIsForCookies's user avatar
0 votes
0 answers
75 views

How can I end up in not visual mode after Coc inserts code?

I am using Coc through vim-plug in Neovim. Coc allows the use of so-called code actions, which, when triggered, allows different Coc plugins to do stuff. For instance, when writing Rust, coc-rust-...
Arthur's user avatar
  • 101
0 votes
0 answers
727 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, ...
user avatar
0 votes
0 answers
2k 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 ...
m_ocean's user avatar
  • 101
0 votes
0 answers
103 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 ...
iagobozza's user avatar
0 votes
0 answers
186 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 ...
finite_diffidence's user avatar
0 votes
1 answer
195 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 ...
Joyce Babu's user avatar
0 votes
0 answers
3k 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 ...
idankor's user avatar
  • 145
0 votes
1 answer
206 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....
s1n7ax's user avatar
  • 525