summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-14 17:59:13 +0100
committerw0rp <devw0rp@gmail.com>2017-06-14 17:59:13 +0100
commitf814be45b19ae87c5931e72f67869c1fcdb35c24 (patch)
tree1a732620dfa05d7d6343ca68ea79641d5ad0876e /plugin
parentc2258e36844a2b2b414c95bbe26decd377fca581 (diff)
downloadale-f814be45b19ae87c5931e72f67869c1fcdb35c24.zip
Fix #536 - Implement linter problem type re-mapping
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 2bc0c103..5901187f 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -178,6 +178,9 @@ call ale#Set('pattern_options_enabled', !empty(g:ale_pattern_options))
" A maximum file size for checking for errors.
call ale#Set('maximum_file_size', 0)
+" Remapping of linter problems.
+call ale#Set('type_map', {})
+
function! ALEInitAuGroups() abort
" This value used to be a Boolean as a Number, and is now a String.
let l:text_changed = '' . g:ale_lint_on_text_changed