summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/vim/ftdetect/gofiletype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/vim/ftdetect/gofiletype.vim b/misc/vim/ftdetect/gofiletype.vim
index b67dab0ab..884312160 100644
--- a/misc/vim/ftdetect/gofiletype.vim
+++ b/misc/vim/ftdetect/gofiletype.vim
@@ -1 +1 @@
-au BufRead,BufNewFile *.go setfiletype go
+au BufRead,BufNewFile *.go set filetype=go