Merge pull request #1550 from deivid-rodriguez/bundle_option_for_mdl

Add bundle option to mdl
This commit is contained in:
w0rp authored and GitHub committed 2018-05-03 22:20:39 +01:00
commit 726a768464
3 files changed
+14 -2

No files matched your search

@@ -26,3 +26,10 @@ Execute(The executable and options should be configurable):
AssertEqual
\ ale_linters#markdown#mdl#GetCommand(bufnr('')),
\ ale#Escape('foo bar') . ' --wat'
Execute(Setting bundle appends 'exec mdl'):
let g:ale_markdown_mdl_executable = 'path to/bundle'
AssertEqual
\ ale#Escape('path to/bundle') . ' exec mdl',
\ ale_linters#markdown#mdl#GetCommand(bufnr(''))