Add bundle option to mdl

This commit is contained in:
David Rodríguez
2018-05-01 19:29:06 -03:00
parent ae85695543
commit f11637b62b
3 changed files with 14 additions and 2 deletions

View File

@@ -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(''))