vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

if_ver-2.vim (323B)


      1 " Print py3 interface versions. Part 2.
      2 " This is done separately from part 1 because Vim cannot concurrently load
      3 " Python 2 and 3 together.
      4 
      5 if 1 " This prevents it from being run in tiny versions
      6   execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim'
      7 
      8   echo 'Python 3:'
      9   PrintVer python3 print(sys.version)
     10 endif