diff options
Diffstat (limited to 'runtime/doc/if_pyth.txt')
-rw-r--r-- | runtime/doc/if_pyth.txt | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index f9fddaffd..3e187db84 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 7.3b. Last change: 2010 Jul 24 +*if_pyth.txt* For Vim version 7.3b. Last change: 2010 Jul 25 VIM REFERENCE MANUAL by Paul Moore @@ -337,12 +337,21 @@ sure edit "gvim.exe" and search for "python\d*.dll\c". ============================================================================== 7. Python 3 *python3* -Python 3 support can exist next to Python 2.x. - -*:py3* *:python3* *:py3file* - -TODO - + *:py3* *:python3* +The |:py3| and |:python3| commands work similar to |:python|. + *:py3file* +The |:py3file| command works similar to |:pyfile|. + +Vim can be built in four ways (:version output): +1. No Python support (-python, -python3) +2. Python 2 support only (+python or +python/dyn, -python3) +3. Python 3 support only (-python, +python3 or +python3/dyn) +4. Python 2 and 3 support (+python/dyn, +python3/dyn) + +You can see that when Python 2 and Python 3 are both supported they must be +loaded dynamically. This may cause some problems though, therefore currently +inside a Vim executable you can only use Python 2 or Python 3. To switch to +the other one you need to restart Vim. ============================================================================== vim:tw=78:ts=8:ft=help:norl: |