diff options
Diffstat (limited to 'misc/vim/readme.txt')
-rw-r--r-- | misc/vim/readme.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/vim/readme.txt b/misc/vim/readme.txt index f836f58f3..3c3255113 100644 --- a/misc/vim/readme.txt +++ b/misc/vim/readme.txt @@ -35,3 +35,16 @@ To install one of the available filetype plugins for Go: 3. Add the following line to your .vimrc file (normally $HOME/.vimrc): filetype plugin on + + +Vim indentation plugin for Go +============================= + +To install automatic indentation for Go: + + 1. Same as 1 above. + 2. Copy or link indent/go.vim to the indent directory underneath your vim + runtime directory (normally $HOME/.vim/indent). + 3. Add the following line to your .vimrc file (normally $HOME/.vimrc): + + filetype indent on |