mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 20:30:05 +08:00
docs(python): add doc for enable +py3
This commit is contained in:
parent
d356ef5bd2
commit
e45363331d
@ -12,6 +12,15 @@ commentsID: "Install neovim or vim"
|
||||
|
||||
This artical will tell you how to install vim and neovim, and how to enable `+python3` support.
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [Install Neovim](#install-neovim)
|
||||
- [Windows](#windows)
|
||||
- [Linux](#linux)
|
||||
- [Enable python3 support](#enable-python3-support)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## Install Neovim
|
||||
|
||||
### Windows
|
||||
@ -31,3 +40,10 @@ You can install neovim or vim with default package manager.
|
||||
**Arch Linux**
|
||||
|
||||
`sudo pacman -S neovim`
|
||||
|
||||
## Enable python3 support
|
||||
|
||||
First of all, you need to install python3. and set the env `PYTHON3_HOST_PROG` to the path of python. for example:
|
||||
`C:\Python39\python.exe`.
|
||||
|
||||
Install `pynvim`, run `python -m pip install pynvim`.
|
||||
|
Loading…
Reference in New Issue
Block a user