108 questions
21
votes
3
answers
10k
views
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 ...
13
votes
3
answers
17k
views
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,...
9
votes
2
answers
23k
views
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 ...
8
votes
7
answers
39k
views
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): ...
7
votes
3
answers
11k
views
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.
...
7
votes
2
answers
8k
views
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.
6
votes
1
answer
4k
views
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 ...
6
votes
1
answer
8k
views
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 ...
6
votes
3
answers
13k
views
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 ...
5
votes
1
answer
4k
views
Give the path for compile_commands.json file to coc-clangd
so I'm a developer working mostly with c using yocto/openembedded for developing our products. I'm trying to set up my nvim with coc-cland as an IDE, but having some problems.
So what I want is to ...
4
votes
1
answer
1k
views
neovim screen lagging when switching mode from insert to normal
I'm running neovim + coc + tmux in iTerm2. Sometimes I'm seeing the screen lag a lot, which leads to overlap content, such as the selected content and the status line...
Not sure what's cause the ...
4
votes
1
answer
439
views
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 ...
3
votes
1
answer
4k
views
Auto select the first item from auto complete preview in COC vim?
Is there a way to make coc-vim to auto select the first preview suggestion instead of using the arrow key? I'm using vim 8.1.
3
votes
1
answer
3k
views
How to manually(without keybindings) search a symbol in a source code using coc-clangd/coc-nvim?
I use neovim and coc-clangd for C/C++ programming. Every thing is ok and i can jump through definitions and search references of a symbol in all of my project files by holding the cursor on the symbol ...
3
votes
1
answer
2k
views
vim-go completion stopped working after updating
I'm using neovim with coc.nvim and have been using vim-go and coc-go, and everything was working fine.
I have the habit of updating everything every couple of days, and I do that using the following ...
3
votes
0
answers
1k
views
neovim: [coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed
my neovim have an error when i try to open a python file
throws me:
[coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed
Error: ...
3
votes
0
answers
871
views
Nvim: $VIRTUAL_ENV exists but appears to be inactive. This could lead to unexpected results
Using nvim and pyenv for my virtual environments. When I run :checkhealth I'm shown the following info for my Python 3 provider:
## Python 3 provider (optional)
- INFO: pyenv: Path: /Users/bioround/....
2
votes
1
answer
947
views
Cannot find module with coc-tsserver (ts2307)
I am using NeoVim with CoC for TS development of yarn-3 pnp-enabled project. At some point the editor stopped seeing imports and started complaining that the imported module does not exist. (see ...
2
votes
1
answer
535
views
coc.nvim selected suggestion background color
The background color of the currently-selected-suggestion does not contrast enough with the text to be readable. How can this be fixed?
Setting Pmenu and/or PmenuSel in does NOT improve the situation, ...
2
votes
1
answer
3k
views
How to create coc nvim custom snippets
By following this guide, I could get a simple snippet working.
" vim source for emails
function! coc#source#email#init() abort
return {
\ 'priority': 9,
\ 'shortcut': 'Email',
...
2
votes
1
answer
3k
views
Make `coc-python` and `jedi` autocomplete modules installed in a virtual environment
With the usual coc.nvim + coc-python + jedi setup NeoVim should use system Python modules to run its own plug-ins but Jedi should be able to autocomplete Python modules installed in the active virtual ...
2
votes
1
answer
80
views
How to disable fillers in COC
I am using Clangd as LSP server.
"inlayHint.display": false and "clangd.arguments": ["--function-arg-placeholders=0"]" work to disable the placeholders in functions ...
2
votes
0
answers
313
views
List of VSCode javascript/typescript suggestionActions
VSCode/coc-tsserver suggest code actions. According to answers in this post, you can disable these. There are a few I find annoying, so I wanted to disable them, but I don't want to inadvertently ...
1
vote
1
answer
2k
views
How to select the code prompted by nvim ,and jump to the prompted document
I'am using the coc-rust-anaylzer plugin
Now the problem is I can only see the a prompt, but I don't know how to select the options he gives me, I have tried enter, which only breaks the line and doesn'...
1
vote
2
answers
463
views
How to disable function argument fillers in coc-clangd
I am using neovim with coc.nvim installed.
How do I disable the fillers/placeholders in the functions?
Thanks in advance.
Os: Linux Mint
my coc-settings.json:
{
"jedi.enable": true,
&...