Tuesday, October 27, 2020

Re: v:shell_error is 1 starting gvim

Got this verbose report in level 4 just after opening tagbar.vim and try toggle tagbar.

sourcing "D:\Logiciels\Vim\vimfiles\plugged\tagbar\autoload\tagbar.vim"
filetype detection:ON  plugin:ON  indent:ON
finished sourcing D:\Logiciels\Vim\vimfiles\plugged\tagbar\autoload\tagbar.vim
line 1: sourcing "D:\Logiciels\Vim\vimfiles\plugged\tagbar\autoload\tagbar\debug.vim"
finished sourcing D:\Logiciels\Vim\vimfiles\plugged\tagbar\autoload\tagbar\debug.vim
continuing in <SNR>148_ToggleWindow
Tagbar: Ctags doesn't seem to be Exuberant Ctags!
BSD ctags will NOT WORK. Please download Exuberant Ctags from ctags.sourceforge.net and install it in a directory in your $PATH or set g:tagbar_ctags_bin.
Executed command: "D:\Logiciels\Vim\vim82\ctags.exe --version"
Command output:
Universal Ctags 5.9.0(5d000b1a), Copyright (C) 2015 Universal Ctags Team^M
Universal Ctags is derived from Exuberant Ctags.^M
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert^M
  Compiled: Oct 26 2020, 01:20:04^M
  URL: https://ctags.io/^M
  Optional compiled features: +win32, +wildcards, +regex, +internal-sort, +unix-path-separator, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +case-insensitive-filenames, +packcc^M
Exit code: 1                           >> v:shell_error                                 

Le mardi 27 octobre 2020 à 10:37:59 UTC+1, Ni Va a écrit :
I got that output executing this command :

5verbose let out=system(expand('$vimruntime/ctags.exe --version') ) | put=out | put=v:shell_error

Universal Ctags 5.9.0(5d000b1a), Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Oct 26 2020, 01:20:04
  Optional compiled features: +win32, +wildcards, +regex, +internal-sort, +unix-path-separator, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +case-insensitive-filenames, +packcc
0  

Le mardi 27 octobre 2020 à 10:13:16 UTC+1, cbl...@256bit.org a écrit :

On Di, 27 Okt 2020, Ni Va wrote:

> Hi,
>
> v:shell_error is 1 starting vim, how can I retrieve last shell command executed
> ?
>
> It broke plugin such as tagbar.vim

Set the verbose option to 4 and verbosefile to log the verbose messages
and check the resulting logfile for the shell commands executed.


Best,
Christian
--
Trinkt der Bauer und fährt Traktor, wird er zum Gefahrenfaktor.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/dc0af472-913f-4f73-9e80-c92dbd860bc3n%40googlegroups.com.

No comments: