mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +08:00
lang#python doc: add neomake configuration for python3 (#3839)
This commit is contained in:
parent
31753fc5bf
commit
ada14c8696
@ -131,6 +131,15 @@ is disabled, because it is too slow. To enable type info:
|
|||||||
enable_typeinfo = true
|
enable_typeinfo = true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
By default, the python layer utilizes `neomake` for syntax checking, and the default python executable
|
||||||
|
is simply `python`. Note that the python version is up to your system configuration. If the system
|
||||||
|
(or environment) python version is 2, one can have the following configuration in the bootstrap function
|
||||||
|
for syntax checking on python3:
|
||||||
|
|
||||||
|
```vim
|
||||||
|
let g:neomake_python_python_exe = 'python3'
|
||||||
|
```
|
||||||
|
|
||||||
## Key bindings
|
## Key bindings
|
||||||
|
|
||||||
### Jump to definition
|
### Jump to definition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user