aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/nvim_python.txt
blob: b61856290078c3c7be8d6b55703587216a38ac36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
*nvim_python.txt*    For Nvim.						 {Nvim}


		 NVIM REFERENCE MANUAL    by Thiago de Arruda


Python plugins and scripting in Nvim				  *nvim-python*

1. Introduction			|nvim-python-intro|
2. Quickstart			|nvim-python-quickstart|

==============================================================================
1. Introduction						    *nvim-python-intro*

Through an external python interpreter connected via |msgpack-rpc|, Nvim
offers some support for the classic |python-vim| interface. For now only the
old Vim 7.3 API is supported.

==============================================================================
2. Quickstart					       *nvim-python-quickstart*

If you just want to start using python plugins with Nvim quickly, here's a
simple step-by-step:

- Make sure python 2.6 or 2.7 is available on your `$PATH`
- Install the `neovim` python package:
  >
      $ pip install neovim
<
- Add the following snippet to your `vimrc`, before any python plugins are
  loaded:
>
  if has('nvim')
    runtime! plugin/python_setup.vim
  endif
<
Most python plugins created for Vim 7.3 should work after these steps.

==============================================================================
 vim:tw=78:ts=8:noet:ft=help:norl: