Use a function to define shellcheck linters and vars needed, fixes tests

This commit is contained in:
Ian2020
2020-05-08 12:55:54 +01:00
parent 65bea1a5cb
commit ca97f32258
4 changed files with 27 additions and 40 deletions

View File

@@ -8,7 +8,7 @@ After:
Execute(Old variable name for the 'shellcheck' linter should still work):
let g:ale_linters_sh_shellcheck_exclusions = 'SC1234'
runtime autoload/ale/handlers/shellcheck.vim
runtime ale_linters/sh/shellcheck.vim
AssertEqual 'SC1234', g:ale_sh_shellcheck_exclusions