Fix #735 - Support old versions of Flow by only adding --respect-pragma for supported versions

This commit is contained in:
w0rp
2017-07-07 10:47:09 +01:00
parent 130928590b
commit 7ce960ae51
5 changed files with 53 additions and 9 deletions

View File

@@ -50,6 +50,7 @@ function! ale#linter#PreProcess(linter) abort
endif
let l:obj = {
\ 'add_newline': get(a:linter, 'add_newline', 0),
\ 'name': get(a:linter, 'name'),
\ 'lsp': get(a:linter, 'lsp', ''),
\}