mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-10 23:29:14 +08:00
fix vale option (#5086)
This commit is contained in:
1 parent
d59cb7b3c2
commit
646d956630
3 files changed
+60
-6
No files matched your search
@@ -0,0 +1,15 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('text', 'vale')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The Vale command should include extra options when configured):
|
||||
let g:ale_vale_executable = 'vale'
|
||||
let g:ale_vale_options = '--minAlertLevel=warning'
|
||||
AssertLinter 'vale', ale#Escape('vale') . ' --minAlertLevel=warning --output=JSON %t'
|
||||
|
||||
Execute(The Vale command should not include extra options by default):
|
||||
let g:ale_vale_executable = 'vale'
|
||||
let g:ale_vale_options = ''
|
||||
AssertLinter 'vale', ale#Escape('vale') . ' --output=JSON %t'
|
||||
Reference in new issue
Block a user