If you are using neovim, just run :checkhealth floaterm and post the content
below.
Configurations related to vim-floaterm in vimrc(i.e. g:floaterm_xxx):
Describe your question, feature request, or bug.
Steps to reproduce
Using the minimal vimrc
set nocompatible
set hidden
set termguicolors
set runtimepath^=/path/to/vim-floaterm
filetype plugin indent on
syntax on
Steps to reproduce the behavior:
Actual behaviour
FloatermNew call with error :
Error detected while processing function floaterm#run[7]..floaterm#new[2]..floaterm#util#vim_version:
line 2:
E121: Undefined variable: v:versionlong
E116: Invalid arguments for function string(v:versionlong)]
E15: Invalid expression: ['vim', string(v:versionlong)]
Before reporting
Please make sure you have searched through the F.A.Q. first.
Please make sure you are using the latest version of this plugin.
It's better to use English as it's more friendly to other non-Chinese native users.
Environment
python2.7 / 3.6 all install , python2.7 as default
If you are using vim(not neovim), fill in the following blanks
Output of
vim --version
: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 13 2020 15:49:09) Included patches: 1-1453 Modified by pkg-vim-maintainers@lists.alioth.debian.org Compiled by pkg-vim-maintainers@lists.alioth.debian.org Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_sgr -tag_any_white +arabic +file_in_path -mouse_sysmouse -tcl +autocmd +find_in_path +mouse_urxvt +termguicolors -autoservername +float +mouse_xterm +terminal -balloon_eval +folding +multi_byte +terminfo +balloon_eval_term -footer +multi_lang +termresponse -browse +fork() -mzscheme +textobjects ++builtin_terms +gettext +netbeans_intg +timers +byte_offset -hangul_input +num64 +title +channel +iconv +packages -toolbar +cindent +insert_expand +path_extra +user_commands -clientserver +job -perl +vertsplit -clipboard +jumplist +persistent_undo +virtualedit +cmdline_compl +keymap +postscript +visual +cmdline_hist +lambda +printer +visualextra +cmdline_info +langmap +profile +viminfo +comments +libcall -python +vreplace +conceal +linebreak +python3 +wildignore +cryptv +lispindent +quickfix +wildmenu +cscope +listcmds +reltime +windows +cursorbind +localmap +rightleft +writebackup +cursorshape -lua -ruby -X11 +dialog_con +menu +scrollbind -xfontset +diff +mksession +signs -xim +digraphs +modify_fname +smartindent -xpm -dnd +mouse +startuptime -xsmp -ebcdic -mouseshape +statusline -xterm_clipboard +emacs_tags +mouse_dec -sun_workshop -xterm_save +eval +mouse_gpm +syntax+ex_extra -mouse_jsbterm +tag_binary
+extra_search +mouse_netterm +tag_old_static
system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wdate-time -g -O2 -fdebug-prefix-map=/build/vim-EfP9JP/vim-8.0.1453=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu -lpython3.6m -lpthread -ldl -lutil -lm
Platform:
If you are using neovim, just run
:checkhealth floaterm
and post the contentbelow.
Configurations related to vim-floaterm in vimrc(i.e.
g:floaterm_xxx
):Describe your question, feature request, or bug.
Steps to reproduce
Using the minimal vimrc
Steps to reproduce the behavior:
Actual behaviour
FloatermNew call with error : Error detected while processing function floaterm#run[7]..floaterm#new[2]..floaterm#util#vim_version: line 2: E121: Undefined variable: v:versionlong E116: Invalid arguments for function string(v:versionlong)] E15: Invalid expression: ['vim', string(v:versionlong)]
Expected behaviour
Screenshots(Optional, GIF is better)