From c67492e450e39db63244db9f0bb82860ad594d31 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 8 Jul 2019 10:15:48 -0700 Subject: add a few more ale fixers --- vim/ftplugin/go.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vim/ftplugin/go.vim') diff --git a/vim/ftplugin/go.vim b/vim/ftplugin/go.vim index 6375c53..eb9c22a 100644 --- a/vim/ftplugin/go.vim +++ b/vim/ftplugin/go.vim @@ -1 +1,3 @@ setlocal ts=4 +let b:ale_fixers = {"go": ["gofmt"]} +let b:ale_fix_on_save = 1 -- cgit v1.2.3-54-g00ecf