Add janet-format fixer for Janet (#5142)

This commit is contained in:
David Gouch
2026-07-25 22:22:54 +09:00
committed by GitHub
parent 5fab9dec37
commit 5d4b0881b7
7 changed files with 62 additions and 0 deletions
@@ -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,
\}