This repository was archived by the owner on Apr 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
This repository was archived by the owner on Apr 13, 2024. It is now read-only.
"E688: More targets than List items" when trying to jump to definition of symbol with \rj #79
Copy link
Copy link
Open
Description
I press \rj to jump to the definition of a c++ symbol and I get:
Error detected while processing function <lambda>6[1]..rtags#HandleResults[11]..rtags#ExecuteHandlers[6]..rtags#JumpToHandler:
line 11:
E688: More targets than List items
line 15:
E121: Undefined variable: jump_file
E116: Invalid arguments for function rtags#jumpToLocation(jump_file, lnum, col)
E15: Invalid expression: rtags#jumpToLocation(jump_file, lnum, col)
It also does not jump to the definition, presumably as a result of the error.
It happens all the time. I used to be able to run vim-rtag without problems
but I've re-created my setup with the latest version of the tools and now it
no longer works.
I'm using the latest vim-rtag plugin version from git (via Vundle):
commit 054cd8970eda8e222fc5b4c7b88d2a8727d34f25
Author: lyuts <[email protected]>
Date: Mon Jul 10 21:55:38 2017 -0700
Set s:rtagsAsync to 0 to not break older version of vim when async is
not available.
I'm also using using the latest version of rtags from git:
commit 65c8f03ff0112ce5c5e11aff6867ad0eb9019e63
Author: Anders Bakken <[email protected]>
Date: Sat Jul 15 09:19:36 2017 -0700
Issue #1004. Support regex (-Z) for --find-symbols.
And the latest version of Vim from git on Linux x86_64 (xubuntu-16.04):
:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul 17 2017 18:00:30)
Included patches: 1-727
Compiled by dope@pel-desktop
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl -ebcdic +listcmds +persistent_undo +termresponse
+arabic +emacs_tags +localmap +postscript +textobjects
+autocmd +eval -lua +printer +timers
+balloon_eval +ex_extra +menu +profile +title
+browse +extra_search +mksession -python +toolbar
++builtin_terms +farsi +modify_fname +python3 +user_commands
+byte_offset +file_in_path +mouse +quickfix +vertsplit
+channel +find_in_path +mouseshape +reltime +virtualedit
+cindent +float +mouse_dec +rightleft +visual
+clientserver +folding +mouse_gpm -ruby +visualextra
+clipboard -footer -mouse_jsbterm +scrollbind +viminfo
+cmdline_compl +fork() +mouse_netterm +signs +vreplace
+cmdline_hist +gettext +mouse_sgr +smartindent +wildignore
+cmdline_info -hangul_input -mouse_sysmouse +startuptime +wildmenu
+comments +iconv +mouse_urxvt +statusline +windows
+conceal +insert_expand +mouse_xterm -sun_workshop +writebackup
+cryptv +job +multi_byte +syntax +X11
+cscope +jumplist +multi_lang +tag_binary -xfontset
+cursorbind +keymap -mzscheme +tag_old_static +xim
+cursorshape +lambda +netbeans_intg -tag_any_white +xpm
+dialog_con_gui +langmap +num64 -tcl +xsmp_interact
+diff +libcall +packages +termguicolors +xterm_clipboard
+digraphs +linebreak +path_extra +terminal -xterm_save
+dnd +lispindent -perl +terminfo
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc-7 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/inclu
de/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus
-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include
/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircore -I/usr/include/mircookie
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/p
ango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/inc
lude/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/lib
png12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -U_
FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc-7 -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-3 -lgdk-3 -lpangocairo
-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject
-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lse
linux -lacl -lattr -lgpm -ldl -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -l
python3.5m -lpthread -ldl -lutil -lm
Any idea what causes the error?
Oddegamra, nix-universe and beeender
Metadata
Metadata
Assignees
Labels
No labels