# HG changeset patch # User Richard Cheng # Date 1334329240 -3600 # Node ID dd723c5dadcd193c61ca2677cfa29d78d530d383 # Parent f52bd8e7e36d9cddbeae95cb6f73b158d1700361 Expand au abbreviations Given that slightly further down the page we strongly recommend against using abbreviations in the vimrc file, we probably shouldn't suggest adding any! diff -r f52bd8e7e36d -r dd723c5dadcd chapters/18.markdown --- a/chapters/18.markdown Wed Apr 11 11:43:41 2012 +0100 +++ b/chapters/18.markdown Fri Apr 13 16:00:40 2012 +0100 @@ -43,8 +43,8 @@ :::vim augroup filetype_vim - au! - au FileType vim setlocal foldmethod=marker + autocmd! + autocmd FileType vim setlocal foldmethod=marker augroup END This will tell Vim to use the `marker` method of folding for any Vimscript