Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python2 only? #267

Open
rudrab opened this issue Jun 2, 2019 · 3 comments
Open

python2 only? #267

rudrab opened this issue Jun 2, 2019 · 3 comments

Comments

@rudrab
Copy link

rudrab commented Jun 2, 2019

Hi,
currently I am trying to move my vimrc to vim8's, and trying to get rid of YCM. So, in my vundle:

Plugin 'maralla/completor.vim'
Now, this is giving problem like:

  1. with ultisnips: UltiSnips: the Python version from g:UltiSnipsUsePythonVersion (3) is not

  2. with vimf90:

"i.f90" 3L, 43C
Error detected while processing /home/rudra/.vim/bundle/vimf90/ftplugin/fortran_block.vim:
line  103:
E837: This Vim cannot execute :py3 after using :python
E263: Sorry, this command is disabled, the Python library could not be loaded.  

Any help please?

@Shougo
Copy link

Shougo commented Jun 3, 2019

https://github.com/maralla/completor.vim/blob/master/plugin/completor.vim#L12

It must be:

  return (has('python3') || has('python')) &&
        \ (has('job') && has('timers') || has('nvim')) &&
\ has('lambda')

If has('python') is called before has('python3'), the problem is occurred.

@Shougo
Copy link

Shougo commented Jul 15, 2019

You can send the PR instead.

@ferreum
Copy link
Contributor

ferreum commented Nov 16, 2019

#277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants