Feature: add forge fmt as a fixer for Solidity files (#4598)

* feat: add `forge fmt` as a fixer for Solidity
This commit is contained in:
Henrique Barcelos authored and GitHub committed 2023-09-05 18:34:39 +01:00
1 parent 59e455b4d8
commit 64ddf457e1
7 files changed
+43

No files matched your search

+5
View File
@@ -286,6 +286,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['fish'],
\ 'description': 'Format fish scripts using fish_indent.',
\ },
\ 'forge': {
\ 'function': 'ale#fixers#forge#Fix',
\ 'suggested_filetypes': ['solidity'],
\ 'description': 'Fix Solidity files with forge fmt.',
\ },
\ 'gofmt': {
\ 'function': 'ale#fixers#gofmt#Fix',
\ 'suggested_filetypes': ['go'],