voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.5k stars 80 forks source link

FloatermNew call failed #300

Closed gaolei-tigger closed 3 years ago

gaolei-tigger commented 3 years ago

Before reporting

Environment

python2.7 / 3.6 all install , python2.7 as default

If you are using vim(not neovim), fill in the following blanks

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)]

Expected behaviour

Screenshots(Optional, GIF is better)

Selection_001

gaolei-tigger commented 3 years ago

Who can tell me , where the problem is ? much thanks!

voldikss commented 3 years ago

Fixed.

gaolei-tigger commented 3 years ago

Fixed. could you tell a little more detail, why and how to fix it. thanks!