From 77aacf0c91e15449e9b0c332047b666dd21ee9d4 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 26 Oct 2018 09:22:33 +0100 Subject: #927 Allow b:ale_linter_aliases to be set to a String --- autoload/ale/linter.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autoload') diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 7c1dc53e..dbf9f221 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -346,8 +346,9 @@ endfunction function! s:GetAliasedFiletype(original_filetype) abort let l:buffer_aliases = get(b:, 'ale_linter_aliases', {}) - " b:ale_linter_aliases can be set to a List. + " b:ale_linter_aliases can be set to a List or String. if type(l:buffer_aliases) is v:t_list + \|| type(l:buffer_aliases) is v:t_string return l:buffer_aliases endif -- cgit v1.2.3