Add g:ale_sh_shellcheck_change_directory

This commit is contained in:
Fletcher Nichol
2019-04-18 16:48:10 -06:00
parent fcc2c3ba71
commit 2303b05baa
3 changed files with 22 additions and 1 deletions

View File

@@ -14,6 +14,11 @@ After:
Execute(The default shellcheck command should be correct):
AssertLinter 'shellcheck', b:prefix . ale#Escape('shellcheck') . b:suffix
Execute(The option disabling changing directories should work):
let g:ale_sh_shellcheck_change_directory = 0
AssertLinter 'shellcheck', ale#Escape('shellcheck') . b:suffix
Execute(The shellcheck command should accept options):
let b:ale_sh_shellcheck_options = '--foobar'