summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-11-09 05:05:07 +0000
committerMike Crute <mike@crute.us>2020-11-09 05:05:07 +0000
commitca8f009af238852657117873e2536396b15641c9 (patch)
tree76ab09d257cd616d082726b6a0dc54216bf21d71 /.vim
parent213c1183a1b876a04e27418285099d8f786a48f1 (diff)
downloaddotfiles-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.vim2
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
2au! filetypedetect BufRead,BufNewFile *.mod,*.MOD