mirror of
https://github.com/dense-analysis/ale
synced 2024-12-18 04:15:39 +00:00
8f9197b79b
* Fix 4740 - add hurlfmt linter * Fix 4740 - add hurlfmt fixer * Fix wrong comments * Add end_col to qflist * Fix test
20 lines
558 B
Plaintext
20 lines
558 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('hurl', 'hurlfmt')
|
|
call ale#test#SetFilename('dummy.hurl')
|
|
|
|
let g:ale_ruby_hurlfmt_executable = 'hurlfmt'
|
|
let g:ale_ruby_hurlfmt_options = ''
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(Executable should default to hurlfmt):
|
|
AssertLinter 'hurlfmt', ale#Escape('hurlfmt')
|
|
\ . ' --check --no-color '
|
|
|
|
Execute(Should be able to set a custom executable):
|
|
let g:ale_hurl_hurlfmt_executable = 'bin/hurlfmt'
|
|
|
|
AssertLinter 'bin/hurlfmt' , ale#Escape('bin/hurlfmt')
|
|
\ . ' --check --no-color '
|