mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
plugins update
This commit is contained in:
@ -47,7 +47,7 @@ If you don't want to use the `<F7>` key for flake8-checking, simply remap it to
|
||||
another key. It autodetects whether it has been remapped and won't register
|
||||
the `<F7>` key if so. For example, to remap it to `<F3>` instead, use:
|
||||
|
||||
autocmd FileType python map <buffer> <F3> :call Flake8()<CR>
|
||||
autocmd FileType python map <buffer> <F3> :call flake8#Flake8()<CR>
|
||||
|
||||
For flake8 configuration options please consult the following page:
|
||||
|
||||
@ -110,7 +110,7 @@ A tip might be to run the Flake8 check every time you write a Python file, to
|
||||
enable this, add the following line to your `.vimrc` file (thanks
|
||||
[Godefroid](https://github.com/gotcha)!):
|
||||
|
||||
autocmd BufWritePost *.py call Flake8()
|
||||
autocmd BufWritePost *.py call flake8#Flake8()
|
||||
|
||||
This plugin goes well together with the following plugin:
|
||||
|
||||
|
Reference in New Issue
Block a user