108 questions
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 ...
3
votes
0
answers
135
views
How to configure language server to support JavaFX?
SOLUTION :
my bad it was a build.gradle problem, by removing 'org.javamodularity.moduleplugin' version 1.8.12 from it, coc-java worked again !! But thank you all for your help !
I am working with ...
0
votes
3
answers
983
views
Neovim mason diagnostics not recognizing header files
I recently started using nvim and started playing with some plugins. I found Mason to be extremely useful. However, I find it bit annoying that Mason diagnostics complain about missing header files (...
1
vote
1
answer
239
views
coc.nvim Add icons in suggestions menu
Screen Shot from Termux
I want to add Icons (like VSCode) in suggestion on the k(keyword), v(variable).
I tried searching with suggest keyword on coc-settings.json as well on duckduckgo.com. But ...
2
votes
1
answer
695
views
coc-rust-analyzer does not have inlay type hint anymore
My current config
➜ cat ~/.config/nvim/coc-settings.json
{
"suggest.noselect": true,
"rust-analyzer.inlayHints.typeHints.enable": true,
"rust-analyzer.inlayHints....
0
votes
1
answer
713
views
How to select neoclide/coc.nvim language server autocomplete suggestions in vim
I am using neoclide/coc.nvim plugin in vim on OSX
How do I select one of these suggestions, what is the command or shortcut to navigate and select them? I do not seem to have the ability to move ...
1
vote
1
answer
1k
views
coc.nvim Server clangd failed to start: Error: spawn UNKNOWN issue -4094
so my issue is I installed neovim and nodejs and coc.nvim in windows
I want to set it up for c++ and I did everything it asked
but when I open cpp files I got an error message like : Server clangd ...
1
vote
1
answer
52
views
I had an error on downloading Autopep8 when typing the command: Cocinstall Autopep8
My vim plug:
call plug#begin()
Plug 'tell-k/vim-autopep8'
Plug 'plasticboy/vim-markdown'
Plug 'sheerun/vim-polyglot'
Plug 'jiangmiao/auto-pairs'
Plug 'ap/vim-css-color'
Plug 'preservim/nerdtree'
Plug '...
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 ...
1
vote
1
answer
590
views
coc.vim failing with :checkhealth command
I'm trying to setup coc for nvim on my Windows os. I installed coc via vim-plug and have the coc.nvim config sourced in my main init.vim file. I recieve these messages when I open neovim and run :...
1
vote
0
answers
271
views
ERROR 117 on nvim when i press "tab" in insert mode
I'm installing some plugins and mapping some shortcuts on my init.vim file, the thing is that when I press the "tab" button on my keyboard in insert mode the program shows me this, in insert ...
0
votes
1
answer
315
views
Error 121 Problem with NeoVim nvim and COC
I'm trying for hours to fix this error message.
Error message 121 I receive every time I load nvim
After a :CheckHealth command in nvim, it tells me that this has to do with COC, COC is impossible to ...
0
votes
1
answer
35
views
How to solve the link error caused by broken lines?
I can't open a link completely. How can I solve it?
My_enviroment: neovim v0.6.1,coc.nvim,ubuntu22.04LTS
My mother tongue is not English, please understand the subtle grammatical errors.Thanks you!
I ...
1
vote
0
answers
954
views
ESLint autofix is not working with coc.nvim
When running eslint --fix locally the files get formatted with no problem. However when saving a file within neovim with autocmd BufWritePre *.js,*ts,*tsx :CocCommand eslint.executeAutofix or by ...
0
votes
0
answers
215
views
Vim : chain a second command after the first one is done
I am trying to use Vim as my main IDE. For that, I installed vim-plug, and COC.
This allows me to call those two commands :
:CoCCommand tsserver.organizeImports
:CoCCommand prettier.formatCode
I ...
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, ...
0
votes
1
answer
590
views
Importing AppKit.h: function does not return NSString
I am using Nvim to try and develop a Mac application. I have just imported AppKit.h to instantiate a sharedApplication.
I am using coc-clangd for autocompletion. I am getting the following error when ...
1
vote
0
answers
339
views
In vim plugin CoC, how to change coc-clangd source priority?
How to change coc-clangd source priority?
I use vim conqueror of completion with language server client coc-clangd as autocompletion source and I would like to lower its priority from 99 to 70. I ...
1
vote
1
answer
10k
views
Auto format and indent code based on the file extension with different formaters in nvim
I have a plugin that autosaves the file. This plugin has hooks like .hook_before_saving etc.
Here is an example:
local autosave = require("autosave")
autosave.hook_before_saving = function (...
0
votes
1
answer
2k
views
Tmux, Nvim or Windows Terminal puts some lines on the wrong pane
I've been using nVim and tmux for a while now, but recently I've been having some problems. I seem to be getting some weird artifacts across my IDE which usually involve misplaced or duplicated lines.
...
3
votes
2
answers
3k
views
Vim go to next search result and visually select it
So often if I have a code expression like points.length - 1 and I want to replace it with a variable (for example, named target_idx then I'll define the variable:
int target_idx = points.length - 1;
...
1
vote
0
answers
361
views
CoC-clangd for .m files
I want to contribute to a project which uses objc heavily. As I am not a mac user I cannot use Xcode for this project. So I looked for solutions and found that vim has a code completion plugin (CoC) ...
0
votes
1
answer
379
views
coc.nvim autocompletion for threejs
i want autocompletions for three.js in nvim , kind of like the autocompletions we get if we open three.js file on a split window on vim [still not good], i searched in coc language plugins list, i ...
-2
votes
1
answer
272
views
Coc.nvim suggestion box typing error with ^Z
First of all, I'm sorry for my poor english.
But I really want to solve this problem.
I'm VIM user in M1 Mac,
and I use coc.nvim
Problem :
^Z is force inserted when I continue typing with coc-...
1
vote
1
answer
2k
views
nVim disable error detection of coc plugin
I use neovim with coc.nvim for auto-completion of code, but I don't like this error detection [I don't mean its bad], I only want to disable this grey like with red >> on the left of line ...