Questions tagged [error]

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

Filter by
Sorted by
Tagged with
1 vote
2 answers
255 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
  • 365
1 vote
1 answer
148 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
29 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
136 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
36 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
439 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
124 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 ...
theonlygusti's user avatar
  • 2,229
0 votes
0 answers
31 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
37 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
55 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
152 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
286 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
426 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
65 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,236
1 vote
0 answers
160 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,430
2 votes
1 answer
987 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
222 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
173 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
  • 525
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
2k 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
298 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,021
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,172
0 votes
2 answers
133 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
233 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
76 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
  • 179
0 votes
1 answer
191 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,231
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
281 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
347 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
80 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
125 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
661 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
120 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
465 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
166 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
  • 983
2 votes
1 answer
389 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
7 votes
0 answers
5k 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,083
2 votes
1 answer
57 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
1 vote
1 answer
803 views

Error E575 when starting VIM

When I start vim on my Mac using iterm or MacVim I receive the following error message: E575: viminfo: Illegal starting char in line: ^A<ce>^Y^C<f1>H<85><a9>generator<c4>...
sbac's user avatar
  • 123
1 vote
1 answer
989 views

Error detected while processing grammarous.vim: E117: Unknown function

I am trying to install the vim-grammarous plugin for Vim 8.0.1453. I have cloned the repo into my .vim/plugin directory. Now every time I open Vim I get an error message which also occurs when I try ...
Marcus's user avatar
  • 135
0 votes
1 answer
223 views

Missing doc comment errors

Just started to look into VIM for my coding. I managed to set up some functionality with pathogen and want to make a slow start to learn VIM. the problem is that when I open a PHP document, I get ...
Daniel's user avatar
  • 111
1 vote
0 answers
587 views

Ignore a specific error

How to ignore a specific error (E303 in this case) globally? (don't display it in the console) I wish not to use try...catch if possible.
eyal karni's user avatar
  • 1,058