Merge pull request #2446 from fnichol/add-var-sh-shellcheck-change-directory

Add g:ale_sh_shellcheck_change_directory
This commit is contained in:
w0rp
2019-05-01 22:47:08 +01:00
committed by GitHub
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'