Closed 10ve closed 3 years ago
nvim --version
NVIM v0.5.0-dev+82100a6bd Build type: Release LuaJIT 2.1.0-beta3 Compilation: /usr/bin/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20201214-72269-xbo28y/build/config -I/tmp/neovim-20201214-72269-xbo28y/src -I/usr/local/include -I/tmp/neovim-20201214-72269-xbo28y/deps-build/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20201214-72269-xbo28y/build/src/nvim/auto -I/tmp/neovim-20201214-72269-xbo28y/build/include 编译者 yang@promote.cache-dns.local
Features: +acl +iconv +tui See ":help feature-compile"
系统 vimrc 文件: "$VIM/sysinit.vim" $VIM 预设值: "/usr/local/Cellar/neovim/HEAD-82100a6/share/nvim"
- Operating system/version: `Darwin promote.cache-dns.local 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 x86_64` - `nvim +'checkhealth rnvimr'`:
OK: Name: Mac
**Describe the bug** 系统默认的python为python2.7,已经ln -s homebrew 安装的python3到/usr/local/bin/下,在zsh里也可以默认使用,但是rnvimr不能正常识别
❯ where python /usr/local/bin/python /usr/bin/python ❯ python --version Python 3.9.1
**To Reproduce using `nvim -u mini.vim`** `cat mini.vim` ```vim " use your plugin manager, here is `vim-plug` call plug#begin('~/.config/nvim/plugged') Plug 'kevinhwang91/rnvimr' let g:rnvimr_vanilla = 1 tnoremap <silent> <M-i> <C-\><C-n>:RnvimrResize<CR> nnoremap <silent> <M-o> :RnvimrToggle<CR> tnoremap <silent> <M-o> <C-\><C-n>:RnvimrToggle<CR> call plug#end()
Steps to reproduce the behavior: 1.checkhealth 2.
health#rnvimr#check ======================================================================== ## OS - OK: Name: Mac ## Ranger - OK: Version: ranger 1.9.3 ## Python - ERROR: Version: 2.7.16 (default, Oct 30 2020, 02:15:49) [GCC Apple LLVM 12. 0.0 (clang-1200.0.30.4) [+internal-os, ptrauth-isa=sign+stri - ADVICE: - Python version inside Ranger must be greater than 3 - Please install Ranger properly ## Pynvim - OK: Version: 0.4.2 ## Ueberzug (optional) - INFO: Ueberzug is not support for Mac ## RPC - ERROR: RPC: timeout 3s
Expected behavior 正确识别python路径,或提供变量自己修改路径
Screenshots
在非mini.vim下,还使用这两个可能有影响的变量
let g:loaded_python_provider = 0 let g:python3_host_prog='/usr/local/bin/python3'
pip3 install ranger-fm 后就可以了 不好意思,没认真读readme
nvim --version
:Features: +acl +iconv +tui See ":help feature-compile"
health#rnvimr#check
OS
OK: Name: Mac
Ranger
Python
Pynvim
Ueberzug (optional)
RPC
❯ where python /usr/local/bin/python /usr/bin/python ❯ python --version Python 3.9.1
Steps to reproduce the behavior: 1.checkhealth 2.
Expected behavior 正确识别python路径,或提供变量自己修改路径
Screenshots