From 51a79d03064a54b60a6a6c5c876cd09ec8899747 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 30 Jun 2011 16:19:53 +1000 Subject: [PATCH] misc/vim: allow only utf-8 for fileencoding. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4625078 --- misc/vim/ftdetect/gofiletype.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/vim/ftdetect/gofiletype.vim b/misc/vim/ftdetect/gofiletype.vim index 8843121603d..e50c29270c0 100644 --- a/misc/vim/ftdetect/gofiletype.vim +++ b/misc/vim/ftdetect/gofiletype.vim @@ -1 +1 @@ -au BufRead,BufNewFile *.go set filetype=go +au BufRead,BufNewFile *.go set fileencoding=utf-8 filetype=go