mirror of
https://github.com/dense-analysis/ale
synced 2025-01-10 00:09:37 +00:00
64ddf457e1
* feat: add `forge fmt` as a fixer for Solidity
16 lines
294 B
Plaintext
16 lines
294 B
Plaintext
Before:
|
|
Save g:ale_solidity_forge_executable
|
|
|
|
After:
|
|
Restore
|
|
|
|
Execute(The forge fmt callback should return the correct default values):
|
|
AssertEqual
|
|
\ {
|
|
\ 'command': ale#Escape('forge')
|
|
\ . ' fmt %t',
|
|
\ 'read_temporary_file': 1,
|
|
\ },
|
|
\ ale#fixers#forge#Fix(bufnr(''))
|
|
|