From 0e2abf126230832faf956f84e37daa5091b7f0cd Mon Sep 17 00:00:00 2001 From: vsooda Date: Tue, 18 Aug 2015 15:21:35 +0800 Subject: [PATCH] jedi --- sources_non_forked/jedi-vim/AUTHORS.txt | 1 + sources_non_forked/jedi-vim/README.rst | 3 ++- sources_non_forked/jedi-vim/autoload/jedi.vim | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sources_non_forked/jedi-vim/AUTHORS.txt b/sources_non_forked/jedi-vim/AUTHORS.txt index 89c6571f..72849fbe 100644 --- a/sources_non_forked/jedi-vim/AUTHORS.txt +++ b/sources_non_forked/jedi-vim/AUTHORS.txt @@ -45,6 +45,7 @@ Justin Cheevers @justincheevers Talha Ahmed (@talha81) Matthew Tylee Atkinson (@matatk) Pedro Ferrari (@petobens) +Daniel Hahler (@blueyed) Dave Honneffer (@pearofducks) diff --git a/sources_non_forked/jedi-vim/README.rst b/sources_non_forked/jedi-vim/README.rst index 289af341..2a2cf167 100644 --- a/sources_non_forked/jedi-vim/README.rst +++ b/sources_non_forked/jedi-vim/README.rst @@ -88,7 +88,8 @@ Example Installation Command using Pathogen: On Arch Linux, you can also install jedi-vim from official repositories as `vim-jedi `__. It is also available on `Debian (≥8) `__ and `Ubuntu (≥14.04) -`__ as vim-python-jedi. +`__ as vim-python-jedi. On Fedora Linux, +it is available as `vim-jedi `__. Note that the `python-mode `_ VIM plugin seems to conflict with jedi-vim, therefore you should disable it before enabling diff --git a/sources_non_forked/jedi-vim/autoload/jedi.vim b/sources_non_forked/jedi-vim/autoload/jedi.vim index 314611c8..0f7413a3 100644 --- a/sources_non_forked/jedi-vim/autoload/jedi.vim +++ b/sources_non_forked/jedi-vim/autoload/jedi.vim @@ -70,7 +70,7 @@ function! s:init_python() " avoids starting both of them. " Get default python version from interpreter in $PATH. - let s:def_py = system("python -c 'import sys; sys.stdout.write(str(sys.version_info[0]))'") + let s:def_py = system('python -c '.shellescape('import sys; sys.stdout.write(str(sys.version_info[0]))')) if v:shell_error != 0 || !len(s:def_py) if !exists("g:jedi#squelch_py_warning") echohl WarningMsg