diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-27 23:51:27 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-27 23:51:27 +0100 |
commit | c17346d40288de884622435456e01c5de868d6f5 (patch) | |
tree | f564d4dffc86f0b9095fa9e64d4403c45ced2e3b /autoload | |
parent | aca5a00fb7b00655685a4306f1517d4e0f9126ee (diff) | |
download | ale-c17346d40288de884622435456e01c5de868d6f5.zip |
Fix ALEInfo and some test issues
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/debugging.vim | 11 | ||||
-rw-r--r-- | autoload/ale/linter.vim | 2 |
2 files changed, 4 insertions, 9 deletions
diff --git a/autoload/ale/debugging.vim b/autoload/ale/debugging.vim index 5e4b7a21..75984a6a 100644 --- a/autoload/ale/debugging.vim +++ b/autoload/ale/debugging.vim @@ -109,14 +109,14 @@ function! s:EchoLinterAliases(all_linters) abort let l:first = 1 for l:linter in a:all_linters - if !empty(l:linter.aliaes) - if !l:first + if !empty(l:linter.aliases) + if l:first echom ' Linter Aliases:' endif let l:first = 0 - echom string(l:linter.name) . ' -> ' . string(l:linter.aliaes) + echom string(l:linter.name) . ' -> ' . string(l:linter.aliases) endif endfor endfunction @@ -138,11 +138,6 @@ function! ale#debugging#Info() abort let l:all_names = map(copy(l:all_linters), 'v:val[''name'']') let l:enabled_names = map(copy(l:enabled_linters), 'v:val[''name'']') - let l:linter_aliases = [] - - for l:linter in l:all_linters - call add(l:linter_aliases, [l:linter.name, l:linter.aliaes]) - endfor " Load linter variables to display " This must be done after linters are loaded. diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 12c6e841..d90c873e 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -4,7 +4,7 @@ let s:linters = {} -" Default filetype aliaes. +" Default filetype aliases. " The user defined aliases will be merged with this Dictionary. let s:default_ale_linter_aliases = { \ 'Dockerfile': 'dockerfile', |