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:
parent
0048c199fe
commit
d90a3e1d3f
@ -29,7 +29,7 @@
|
||||
" <
|
||||
"
|
||||
" To fix this issue, you need to install `future` module.
|
||||
" <
|
||||
" >
|
||||
" python2 -m pip install future
|
||||
" <
|
||||
|
||||
|
@ -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*
|
||||
|
||||
|
2
main.vim
2
main.vim
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user