diff options
author | Mike Crute <mike@crute.us> | 2020-11-09 05:05:07 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-11-09 05:05:07 +0000 |
commit | ca8f009af238852657117873e2536396b15641c9 (patch) | |
tree | 76ab09d257cd616d082726b6a0dc54216bf21d71 /.vim | |
parent | 213c1183a1b876a04e27418285099d8f786a48f1 (diff) | |
download | dotfiles-ca8f009af238852657117873e2536396b15641c9.tar.bz2 dotfiles-ca8f009af238852657117873e2536396b15641c9.tar.xz dotfiles-ca8f009af238852657117873e2536396b15641c9.zip |
vim: fix go module detection
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/ftdetect/gomod.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.vim/ftdetect/gomod.vim b/.vim/ftdetect/gomod.vim new file mode 100644 index 0000000..7b96a52 --- /dev/null +++ b/.vim/ftdetect/gomod.vim | |||
@@ -0,0 +1,2 @@ | |||
1 | " Fixup for vim-go because it doesn't use the augroup correctly | ||
2 | au! filetypedetect BufRead,BufNewFile *.mod,*.MOD | ||