summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin/go.vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@stripe.com>2019-07-08 10:15:48 -0700
committerJesse Luehrs <doy@tozt.net>2019-07-08 10:19:37 -0700
commitc67492e450e39db63244db9f0bb82860ad594d31 (patch)
tree4daabd5ecfbaa93b99d82ddf01a9d49f25136c32 /vim/ftplugin/go.vim
parent2e268365033018c5bf554537d37b179d47e1ce48 (diff)
downloadconf-c67492e450e39db63244db9f0bb82860ad594d31.tar.gz
conf-c67492e450e39db63244db9f0bb82860ad594d31.zip
add a few more ale fixers
Diffstat (limited to 'vim/ftplugin/go.vim')
-rw-r--r--vim/ftplugin/go.vim2
1 files changed, 2 insertions, 0 deletions
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