From 758ff64c69e34965f8af5b2d6ffd65e8d7ab2150 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Mon, 14 Feb 2011 13:23:51 +0100 Subject: Imported Upstream version 2011-02-01.1 --- misc/vim/readme.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'misc/vim/readme.txt') diff --git a/misc/vim/readme.txt b/misc/vim/readme.txt index bb36d4bbe..f836f58f3 100644 --- a/misc/vim/readme.txt +++ b/misc/vim/readme.txt @@ -21,3 +21,17 @@ commands: ln -s $GOROOT/misc/vim/ftdetect/gofiletype.vim $HOME/.vim/ftdetect/ ln -s $GOROOT/misc/vim/syntax/go.vim $HOME/.vim/syntax echo "syntax on" >> $HOME/.vimrc + + +Vim filetype plugins for Go +=========================== + +To install one of the available filetype plugins for Go: + + 1. Same as 1 above. + 2. Copy or link one or more plugins from ftplugin/go/*.vim to the + Go-specific ftplugin directory underneath your vim runtime directory + (normally $HOME/.vim/ftplugin/go/*.vim). + 3. Add the following line to your .vimrc file (normally $HOME/.vimrc): + + filetype plugin on -- cgit v1.2.3