From c145f5aae8cde008b9a81a24a1fc71d7825ea916 Mon Sep 17 00:00:00 2001 From: Daniel Sottile Date: Tue, 2 Apr 2019 21:46:59 -0400 Subject: [PATCH 1/1] Fixed examples in README --- README.mdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5