gofmt fixer for Go (#970)

Add a gofmt fixer for golang.
This commit is contained in:
aliou authored and w0rp committed 2017-10-03 18:54:35 +01:00
1 parent 3ab414de1a
commit e376f0ae44
6 files changed
+74

No files matched your search

+5
View File
@@ -92,6 +92,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['c', 'cpp'],
\ 'description': 'Fix C/C++ files with clang-format.',
\ },
\ 'gofmt': {
\ 'function': 'ale#fixers#gofmt#Fix',
\ 'suggested_filetypes': ['go'],
\ 'description': 'Fix Go files with go fmt.',
\ },
\}
" Reset the function registry to the default entries.