1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:40:05 +08:00

lang#python doc: add neomake configuration for python3 (#3839)

This commit is contained in:
randomizedthinking 2020-09-25 00:59:31 -07:00 committed by GitHub
parent 31753fc5bf
commit ada14c8696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,15 @@ is disabled, because it is too slow. To enable type info:
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
### Jump to definition