summaryrefslogtreecommitdiff
path: root/misc/vim/readme.txt
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-02-14 13:23:51 +0100
committerOndřej Surý <ondrej@sury.org>2011-02-14 13:23:51 +0100
commit758ff64c69e34965f8af5b2d6ffd65e8d7ab2150 (patch)
tree6d6b34f8c678862fe9b56c945a7b63f68502c245 /misc/vim/readme.txt
parent3e45412327a2654a77944249962b3652e6142299 (diff)
downloadgolang-upstream/2011-02-01.1.tar.gz
Imported Upstream version 2011-02-01.1upstream/2011-02-01.1
Diffstat (limited to 'misc/vim/readme.txt')
-rw-r--r--misc/vim/readme.txt14
1 files changed, 14 insertions, 0 deletions
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