Closed mckellygit closed 2 years ago
Something like this in autoload/vimade.vim is a workaround, but I don't want to change the plugin or build up all of g:vimade_features manually -
if has('python3')
let g:vimade_features.has_python = v:false
let g:vimade_features.has_python3 = v:true
elseif has('python')
let g:vimade_features.has_python = v:true
let g:vimade_features.has_python3 = v:false
else
let g:vimade_features.has_python = v:false
let g:vimade_features.has_python3 = v:false
endif
There are some others finding has('python') causes the same issue so perhaps more research and testing of the nvim commit is needed. See https://github.com/neovim/neovim/pull/17252
Thanks for the details and opening the issue. Added a workaround that should solve the problem for the time being -- lmk if you still run into issues.
No vimade changes needed. Its an issue with some older nvim runtime files. After removing the nvim runtime files before a make install the error no longer happens. take care, -m
@TaDaa, hi Thank you so much for vimade. With the latest neovim commits I now see this at nvim startup -
But I think my python is ok ?
and
This seems to be from pythonx.vim -
I tracked it down to vimade plugin here -
I do not understand why has('python') would cause the major_version to be 2, since my default python command is python3.8.10, but this is the line that somehow causes a python2 dependency in nvim. Do you have any idea why or a way to configure around this ? Perhaps I just need to remove python2 from my machine but I wonder if you know more. thx, -m