Add gopls format as a Go fixer

This commit is contained in:
Sean Enck authored and GitHub committed 2023-01-28 00:20:29 -07:00
1 parent 65088b59b7
commit 0af4899605
4 files changed
+100

No files matched your search

+5
View File
@@ -301,6 +301,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['gomod'],
\ 'description': 'Fix Go module files with go mod edit -fmt.',
\ },
\ 'gopls': {
\ 'function': 'ale#fixers#gopls#Fix',
\ 'suggested_filetypes': ['go'],
\ 'description': 'Fix Go files with gopls.',
\ },
\ 'tslint': {
\ 'function': 'ale#fixers#tslint#Fix',
\ 'suggested_filetypes': ['typescript'],