1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

docs(python2): add @bug todo info about python2

This commit is contained in:
wsdjeg 2022-04-11 18:36:44 +08:00
parent 0048c199fe
commit d90a3e1d3f
3 changed files with 13 additions and 1 deletions

View File

@ -29,7 +29,7 @@
" <
"
" To fix this issue, you need to install `future` module.
" <
" >
" python2 -m pip install future
" <

View File

@ -2081,6 +2081,16 @@ MAPPINGS
normal SPC g h p show PRs in browser
<
NOTE: If you are using python2, you may get error:
>
No module named past.builtins
<
To fix this issue, you need to install `future` module.
>
python2 -m pip install future
<
==============================================================================
GTAGS *SpaceVim-layers-gtags*

View File

@ -34,6 +34,8 @@ call SpaceVim#logger#info('Loading SpaceVim from: ' . g:_spacevim_root_dir)
if has('vim_starting')
" python host
" @bug python2 error on neovim 0.6.1
" let g:loaded_python_provider = 0
if !empty($PYTHON_HOST_PROG)
let g:python_host_prog = $PYTHON_HOST_PROG
call SpaceVim#logger#info('$PYTHON_HOST_PROG is not empty, setting g:python_host_prog:' . g:python_host_prog)