From: Daniel Sottile Date: Wed, 3 Apr 2019 01:46:59 +0000 (-0400) Subject: Fixed examples in README X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/c145f5aae8cde008b9a81a24a1fc71d7825ea916 Fixed examples in README --- diff --git a/README.mdown b/README.mdown index d4c5811..5d4e00c 100644 --- a/README.mdown +++ b/README.mdown @@ -47,7 +47,7 @@ If you don't want to use the `` key for flake8-checking, simply remap it to another key. It autodetects whether it has been remapped and won't register the `` key if so. For example, to remap it to `` instead, use: - autocmd FileType python map :call Flake8() + autocmd FileType python map :call flake8#Flake8() 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: