summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-09-15 13:08:21 +0100
committerw0rp <devw0rp@gmail.com>2016-09-15 13:08:21 +0100
commitc4fb7f949d7880a80e4b1879cf6cd5c2d251980e (patch)
treeb5060541640e07b28fbc61e5d0ec3883c9f5440d /plugin
parentb236b6b35310ad4d50017b95ac20a2a5ffb9950c (diff)
downloadale-c4fb7f949d7880a80e4b1879cf6cd5c2d251980e.zip
Add an option disabling warnings about trailing whitespace, and use it in flake8.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale/aaflags.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/ale/aaflags.vim b/plugin/ale/aaflags.vim
index 70021a6e..4fc74b4e 100644
--- a/plugin/ale/aaflags.vim
+++ b/plugin/ale/aaflags.vim
@@ -40,3 +40,8 @@ endif
if !exists('g:ale_echo_cursor')
let g:ale_echo_cursor = 1
endif
+
+" This flag can be set to 0 to disable warnings for trailing whitespace
+if !exists('g:ale_warn_about_trailing_whitespace')
+ let g:ale_warn_about_trailing_whitespace = 1
+endif