From 146beebae14184f1ca97463fe8e31bb01b0380bd Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Tue, 2 Oct 2018 08:53:34 -0500 Subject: [PATCH] disable the vim-go template on new files I found that really annoying, I don't know why it's on by default. --- .vim/ftplugin/go.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vim/ftplugin/go.vim b/.vim/ftplugin/go.vim index bcdc40c..179b4fe 100644 --- a/.vim/ftplugin/go.vim +++ b/.vim/ftplugin/go.vim @@ -1,5 +1,8 @@ " don't show go fmt errors let g:go_fmt_fail_silently = 1 +" don't template out new Go files +let g:go_template_autocreate = 0 + " use literal tab characters in Go set noexpandtab