aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/vimrc b/vimrc
index dcdbcf4..e506050 100644
--- a/vimrc
+++ b/vimrc
@@ -23,11 +23,13 @@ set expandtab
set backspace=indent,eol,start
" Filetypes
+filetype off
+filetype indent plugin off
+set runtimepath+=$GOROOT/misc/vim
filetype on
-filetype indent on
-filetype plugin on
-
+filetype indent plugin on
autocmd FileType ruby set shiftwidth=2
autocmd FileType c set shiftwidth=4 tabstop=4
autocmd FileType yacc set shiftwidth=4 tabstop=4
+autocmd FileType go set shiftwidth=4 tabstop=4