mirror of
https://github.com/dense-analysis/ale.git
synced 2026-07-29 11:16:46 +08:00
Add janet-format fixer for Janet (#5142)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
Before:
|
||||
call ale#assert#SetUpFixerTest('janet', 'janet-format')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownFixerTest()
|
||||
|
||||
Execute(The janet-format callback should return the correct default values):
|
||||
AssertFixer {
|
||||
\ 'command': ale#Escape('janet-format') . ' %t',
|
||||
\ 'read_temporary_file': 1,
|
||||
\}
|
||||
|
||||
Execute(The janet-format callback should allow a custom executable):
|
||||
let g:ale_janet_janet_format_executable = '/custom/path/to/janet-format'
|
||||
|
||||
AssertFixer {
|
||||
\ 'command': ale#Escape('/custom/path/to/janet-format') . ' %t',
|
||||
\ 'read_temporary_file': 1,
|
||||
\}
|
||||
Reference in New Issue
Block a user