Skip to main content

Questions tagged [error]

Requests to interpret and troubleshoot error messages from Vi / Vim.

Filter by
Sorted by
Tagged with
2 votes
1 answer
148 views

Neovim is looking for configs in current directory, how do I fix this?

I am trying to configure neovim by adding plugins via lazy in my C:\User\{username}\AppData\local\nvim folder. However when I try to use neovim it only works in the nvim folder and no where else. I ...
Hello's user avatar
  • 31
0 votes
1 answer
38 views

Go to error messages' `:help`

How can I search the help entry for the last errors after the execution? Example " try to run a command that doesn't exist :qwerty E492: Not an editor command: qwerty I usually use :echo errmsg, ...
ranemirusG's user avatar
1 vote
1 answer
66 views

Vim help outputs gibberish

While going through the vimtutor, I was supposed to execute commands to access help. Executing :help worked, but once I executed :help w, :help user-manual the output became gibberish. The error code ...
user avatar
1 vote
1 answer
46 views

Errors in `term_sendkeys()`

:h terminal-to-job shows the following example of term_sendkeys() call term_sendkeys(buf, "ls *.java\<CR>") Following this, I added the line to .vimrc: nnoremap <Leader>test :...
T_T's user avatar
  • 189
1 vote
2 answers
308 views

Windows E482: Cannot create file

I have been using this bookmark plugin for a while, on Linux. I want to start using it on Windows as well, so I have added this conditional setting: " vim-bookmarks let g:bookmark_sign = '⭕' ...
paradroid's user avatar
  • 367
1 vote
1 answer
212 views

Error when using vim-plug from git-bash

I just installed vim-plug to use the doxygen plugin. Added call plug#begin() Plug 'vim-scripts/DoxygenToolkit.vim' call plug#end() to the .vimrc (_vimrc because Win10..). Using the doxygen plugin ...
Max's user avatar
  • 113
0 votes
1 answer
67 views

Deleting multiple pattern simultaneously

I would like to execute multiple deletions. The problem when a pattern is not found all deletions are cancelled. I used the e flag to tell vim the not founding a pattern is not an error, but it still ...
Ayoub Falah's user avatar
0 votes
1 answer
269 views

Error in coroutine while installing nvim-lua.planary.nvim with nvim 0.9.1

I'm trying to setup my nvim environment following this video. I tried to install Telescope and got this error. I'm installing this on wsl2, nvim version 0.9.1 [packer.nvim] [ERROR 18:23:00] async.lua:...
Minh Mốc's user avatar
1 vote
1 answer
86 views

Getting an error message when triggering plugin load with vim-plug

I'm new to the world of plugins, and have just installed vim-plug (well, sort of). My .vimrc has: call plug#begin() Plug 'vim-airline/vim-airline', { 'on': 'Airline' } call plug#end() ... since I ...
einpoklum's user avatar
  • 111
0 votes
0 answers
618 views

error "attempt to index global 'keymaps' (a nil value)"

I am on Mac with nvim v0.9.0. I have the following „init.lua“ config loaded: vim.g.mapleader = '<Space>' local keymap = vim.keymap keymap.set("i","jk","<ESC>")...
dragontec12's user avatar
1 vote
2 answers
150 views

Disable E173: X more files to edit warning in neovim

How can I make :q and other standard ways of exiting quit immediately even if E173 would ordinarily have stopped me in my tracks? Because this doesn't seem possible in regular VIM, how can I do it in ...
minseong's user avatar
  • 2,323
0 votes
0 answers
33 views

"Max Memory" Error when scrolling

I'm having this really weird issue with Vim, when I scroll down certain files it gives me a "Max memory" error and then the entire file turns white. It doesn't make any sense though because ...
Origami's user avatar
  • 29
0 votes
0 answers
41 views

Windows: "syntax incorrect" -- can I ask Vim for the line number?

I use vim on Windows, using a "_vimrc" configuration file. When running the vim command in the prompt, I get the following error message before Vim starts every single time: The syntax of ...
gustafbstrom's user avatar
0 votes
1 answer
2k views

Error on save: "can't open file for writing, too many files"

I was happily editing along when I tried to save and Neovim gave me this error "can't open file for writing, too many files" and overriding with ! did not help. I decided because it had not ...
GGibson's user avatar
  • 111
1 vote
0 answers
37 views

lstlisting environment it not treated as verbatim, which results in several false positives

ALE does not treat text inside of listing environments like verbatim, which spawns many whitespace related errors (i.e. space before punctuation marks, etc.). I've found somewhat of an answer on ...
user avatar
0 votes
0 answers
66 views

Vim-Matlab Errno 2 No such file or directory

I just installed the plugin provided by daeyun here: https://github.com/daeyun/vim-matlab But when I open up an M-file in Neovim, go to connect to the server with the command :MatlabLaunchServer I get ...
BLI's user avatar
  • 1
1 vote
1 answer
195 views

Color name or number not recognized with User1-9

When I run highlight User1 ctermbg=#505050 ctermfg=#d0d0d0 gui=italic, I get the following error. E421: Color name or number not recognized: ctermbg=#505050 ctermfg=#d0d0d0 gui=italic
SingularisArt's user avatar
0 votes
1 answer
342 views

TypeScript: is it possible to see errors not in one line?

Now I have this: Sometimes errors are big, and in order to see them clearly - I run tsc to see this: Also, is it possible to see a type name, but not a fields enumeration? I use ALE and tsuquyomi.
Vitaly Zdanevich's user avatar
3 votes
1 answer
582 views

How can I echo a message with newlines so it is displayed with line breaks and is available under :messages

Consider the following: function! RunWithErrorHandling(command) abort let view = winsaveview() let errorOutputFile = tempname() let shellredir_save = &shellredir let &shellredir = '&...
Sebastian Blask's user avatar
4 votes
0 answers
69 views

How to Make Macros Stop with Custom Motion?

I am writing a custom Vim motion. The problem is that when used in a macro (especially at the end of a macro), the macro does not automatically stop when the motion no longer applies. For example, if ...
Jesse's user avatar
  • 41
2 votes
1 answer
5k views

Neovim Lua: Error while calling lua chunk [...] '' expected near 'local'

When I run Neovim (NVIM v0.6.1), I get Error detected while processing /home/ecarroll/.config/nvim/init.lua: E5113: Error while calling lua chunk: vim.lua:63: /home/ecarroll/.config/nvim/lua/plugins....
Evan Carroll's user avatar
  • 1,324
1 vote
0 answers
168 views

Meaning of number in "Error detected while processing function foo#bar[3]"

When vim produces an error message like, Error detected while processing function foo#bar[3] what's the significance of the number in square brackets (e.g. 3 in the above example). The actual error I'...
ivan's user avatar
  • 1,450
2 votes
1 answer
1k views

gvim: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

I use Cygwin's X-windows. For Gvim (not Vim) I've gotten warnings similar to the following for years: ** (gvim:432): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error....
user2153235's user avatar
0 votes
0 answers
232 views

Suppress Deprecation Warning from Python

I am using gVim on Windows, and when I enter insert mode for the first time on a fresh document I am hit with a deprecation warning from Python regarding the imp package. This is quite jarring and I ...
Lockjaw's user avatar
  • 145
1 vote
1 answer
196 views

How can I return to the file that I'm editing when I execute it from inside Vim?

Let's say that I have the following node.js script: console.log("test") If I use the command :set makeprg=node\ % | set autowrite | make I'll execute this node.js code and see the following ...
raylight's user avatar
  • 535
4 votes
2 answers
1k views

Copy vim messages into clipboard

When I'm confronting a bug of a plugin and an error message pops up like this one: E5018: Error executing lua ... and if I want to report this bug, I always have to type this error message manually. ...
TornaxO7's user avatar
  • 561
0 votes
1 answer
3k views

"command not found" error using filetype plugin [closed]

I am trying to add filetype plugin indent on to my vimrc, and I'm getting the error filetype: command not found. I tried searching but can't find a solution. I have the full vim package installed (not ...
moinudin's user avatar
  • 103
0 votes
1 answer
353 views

How to implement an autocommand that deletes a buffer when it's being hidden and when it hasn't been modified in the last N seconds?

I'm trying to implement a simple autocommand, which deletes a buffer when it's hidden, with a condition that the file hasn't been modified in the last N seconds. I have the following code in ~/.vim/...
Severi Jääskeläinen's user avatar
0 votes
0 answers
28 views

How to display Vim confirmation prompts in French but error messages in English

Is there a way to make Vim display confirmation prompts in French but error messages in English? I have gotten very used to responding to the French confirmation prompts. A change to English would ...
Flux's user avatar
  • 1,041
2 votes
0 answers
1k views

Strange error when closing Vim

I'm victim of a witchcraft. Likely my own. There's no Vim session open, based on the empty output of pidof vim and can open a new or existing file just fine. When I quit it with :q, however, I see to ...
Enlico's user avatar
  • 2,194
0 votes
2 answers
137 views

vim get error properly formatted in quickfix

Please find my minimal vimrc (whatever I use for Latex compilation) "General "{{{ set nocompatible " because vim is not vi "set autowrite ...
BaRud's user avatar
  • 481
0 votes
1 answer
298 views

Can't use the usual !!foo in vim // gvim on Windows 10 - missing tmp files

I'm running vim // gvim 8.2 (fresh off of vim.org, and was before---just re-installed to do so as administrator, per instructions I'd missed before). I've been getting this since getting this Windows ...
GTbrewer's user avatar
1 vote
1 answer
81 views

Difference between make and make!

According to the help page the only difference between :make and :make! is that the latter doesn't jump to the first error. So why isn't :make! <Bar> silent cnext<CR> equivalent to :make? ...
noibe's user avatar
  • 189
0 votes
1 answer
216 views

How to track down the code during debugging?

The problem I'm trying to troubleshoot now is specific to recent neovim 0.5.0 (exact version I'm using is NVIM v0.5.0-ef3230f35 but this issue reproduces in the same way on all my machines each ...
Steven Lu's user avatar
  • 2,251
1 vote
1 answer
1k views

Gvim E370: cannot load library python36.dll with installed Python 3.8

I get often error E370: cannot load library python36.dll while using different plugins like: Fugitive.vim. I have Python 3.8 install with proper PATH. Is it possible to force Gvim to use python38.dll ...
lluke's user avatar
  • 219
0 votes
1 answer
299 views

Multiline context errors

Sometimes I see multiline popup-base errors in screencasts like the one below: Would anyone point me with a term or something to google it, as my ideas don't work for some reason? Here's configs of ...
imbolc's user avatar
  • 155
0 votes
1 answer
2k views

Can't use python inputs in Vim

I'm new to Vim. I ran the code print("Hello world") name = input("Name: ") print("Hello",name) and then ran it using :w !python and got the result Hello world Name: ...
Andrew6450's user avatar
0 votes
1 answer
391 views

Ignore error on specific character in .vimrc

I'm using the accepted answer in this post, and as such, tried using the character * in my .vimrc, but it seems to generate E20: Mark not set as error, which i want to ignore (only for the instance ...
Nordine Lotfi's user avatar
0 votes
1 answer
84 views

Adding python directory

After following some advice my vimrc contains: set rnu set nu set autoindent set pythonthreedll=C:\Program Files (x86)\Vim\vim82\autoload\python37.dll set pythonthreehome=C:\Program Files (x86)\Vim\...
user avatar
2 votes
0 answers
128 views

YouCompleteMe unavailable: unable to load Python [duplicate]

I have done PlugInstall but it gives: YouCompleteMe unavailable: unable to load Python. The same error happens while loading UltiSnips: E370: Could not load python36.dll My vimrc: set rnu set nu ...
user avatar
1 vote
1 answer
2k views

Error in editing vimrc

I wrote :e $MYVIMRC to edit my vimrc and after adding my edits. I wanted to save and exit :wq but then it says: E505: C:.... is read only press ! to override so I write :wq! but it doesn't exit the ...
user avatar
3 votes
2 answers
723 views

Gvim throws the error 'E285: Failed to create input context'

I'm running into a bothersome issue I can't seem to solve myself. When I open gvim I receive the error E285: Failed to create input context The error always comes twice, and looks to be related to ...
VladislavThePoker69's user avatar
1 vote
0 answers
12 views

How to access subprocess exit code [duplicate]

I want to write function that passes current line and file to external program and saves its output into register, e.g: function Foo() let l:current_line = line(".") let l:current_file = expand("%...
KAction's user avatar
  • 121
0 votes
1 answer
31 views

enew is not allowed when used inside a function called by nnoremap <expr>

I have a function: function myPlugin#myFunc() " .... enew termopen(['cmd', 'here'], termopen_opts) endfunction And in my plugin/myPlugin.vim I do: nnoremap <expr> <leader>e ...
Doron Behar's user avatar
1 vote
1 answer
129 views

How to ignore or silence errors in operator-pending mappings?

The following operator-depending mapping works great for me, onoremap <silent> a$ :<C-U>normal! hEF$v,<CR> except when it is issued at the very beginning of a line. What happens is ...
Serge Stroobandt's user avatar
0 votes
1 answer
504 views

How to get rid of an error message from 'deoplete'

Every time I run vim I receive the following error message that disappear afterwords. What can I do to get rid of that message or to get rid of the problem? [deoplete] [yarp] [deoplete] job is dead. ...
sbac's user avatar
  • 123
2 votes
1 answer
170 views

YCM causes some error while loading nerdtree

I'm using vim to do my code job and I installed Nerdtree and YCM. With this merge, YCM has two functions, which allows us to get the error and warning counts. Here is my .vimrc: autocmd VimEnter * ...
Yves's user avatar
  • 1,013
2 votes
1 answer
429 views

Why do mappings abort on errors?

According to this answer, if a error occurs during the execution of a mapping, its execution is aborted. Why is it like that and: 1) Is there a way to prevent this from happening? 2) In the case of ...
user avatar
8 votes
0 answers
6k views

How can I show the error messages that may appear at startup? [closed]

I am getting an error message about my terminal setting when I start Vim, but it just appears on the screen for a second, so it is hard to read. I tried :messages but it is not shown. How can get ...
Tyler Durden's user avatar
  • 2,101
2 votes
1 answer
68 views

Can't exit buffer using leader mapping - 'cannot make changes'

I have a leader key set up, and a mapping that allows me to exit windows without typing :: let mapleader = 'f' map <leader>q = :q<CR> Today I installed MattesGroeger/vim-bookmarks using ...
Aster's user avatar
  • 123