From: Vincent Driessen Date: Wed, 3 Apr 2019 05:32:38 +0000 (+0200) Subject: Merge pull request #77 from DanielJSottile/fix_hints X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ce9ac790430699d346aa074d7f339f2e738284e3?hp=c6b43f88e4cbce052843e8cbd9593cc7753208fe Merge pull request #77 from DanielJSottile/fix_hints Fixed examples in README --- diff --git a/README.mdown b/README.mdown index d4c58111..5d4e00c8 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: