From e45363331d6f4dd29316b1d018829fbaa54e69b1 Mon Sep 17 00:00:00 2001 From: Wang Shidong Date: Thu, 3 Feb 2022 23:16:46 +0800 Subject: [PATCH] docs(python): add doc for enable `+py3` --- ...-install-vim-or-neovim-with-python-support.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/_posts/2017-02-20-install-vim-or-neovim-with-python-support.md b/docs/_posts/2017-02-20-install-vim-or-neovim-with-python-support.md index 6ba54e5f5..d06d42803 100644 --- a/docs/_posts/2017-02-20-install-vim-or-neovim-with-python-support.md +++ b/docs/_posts/2017-02-20-install-vim-or-neovim-with-python-support.md @@ -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. + + +- [Install Neovim](#install-neovim) + - [Windows](#windows) + - [Linux](#linux) +- [Enable python3 support](#enable-python3-support) + + + ## 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`.