linux vim Golang 配置

" clear before set runtimepath
filetype off

filetype plugin off
filetype plugin indent off

syntax off

set runtimepath+=$GOROOT/misc/vim

filetype on

filetype plugin on
filetype plugin indent on

syntax on

原文地址:https://www.cnblogs.com/the-moving-ear/p/3473626.html