I just tried vim-nox (is that for "no X"?) and it seems Python 3 support
works there. I had to use the "let g:UltiSnipsUsePythonVersion = 3"
definition there because the autodetection did not work. For Powerline I
installed powerline and python3-powerline packages and used the
following configuration:

let powerlinecmd=substitute(system("which powerline"), '\n\+$', '', '')
if !empty(glob(powerlinecmd))
    python3 from powerline.vim import setup as powerline_setup
    python3 powerline_setup()
    python3 del powerline_setup
endif

Also: vim-plug seems to be working in parallel mode with no
configuration needed. The default Python is still version 2 in Ubuntu so
version 3 needs to be defined manually.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549507

Title:
  vim in xenial not compiled with python support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1549507/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to