mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-28 23:06:51 +08:00
Escape the ponyc executable
This commit is contained in:
@@ -13,11 +13,11 @@ After:
|
||||
|
||||
Execute(The options should be used in the command):
|
||||
AssertEqual
|
||||
\ 'ponyc --pass paint',
|
||||
\ ale#Escape('ponyc') . ' --pass paint',
|
||||
\ ale_linters#pony#ponyc#GetCommand(bufnr(''))
|
||||
|
||||
let b:ale_pony_ponyc_options = 'foobar'
|
||||
|
||||
AssertEqual
|
||||
\ 'ponyc foobar',
|
||||
\ ale#Escape('ponyc') . ' foobar',
|
||||
\ ale_linters#pony#ponyc#GetCommand(bufnr(''))
|
||||
|
||||
Reference in New Issue
Block a user