Merged from the latest developing branch.
[MacVim.git] / runtime / ftplugin / aap.vim
blob90d404fa6661085b59d41a5f141055026408d9cc
1 " Vim filetype plugin file
2 " Language:     Aap recipe
3 " Maintainer:   Bram Moolenaar <Bram@vim.org>
4 " Last Change:  2003 Nov 04
6 " Only do this when not done yet for this buffer
7 if exists("b:did_ftplugin")
8   finish
9 endif
11 " Don't load another plugin for this buffer
12 let b:did_ftplugin = 1
14 " Reset 'formatoptions', 'comments' and 'expandtab' to undo this plugin.
15 let b:undo_ftplugin = "setl fo< com< et<"
17 " Set 'formatoptions' to break comment lines but not other lines,
18 " and insert the comment leader when hitting <CR> or using "o".
19 setlocal fo-=t fo+=croql
21 " Set 'comments' to format dashed lists in comments.
22 setlocal comments=s:#\ -,m:#\ \,e:#,n:#,fb:-
24 " Expand tabs to spaces to avoid trouble.
25 setlocal expandtab