846
|
1 " Created : Wed 26 Apr 2006 01:20:53 AM CDT
|
1122
|
2 " Modified : Fri 28 Apr 2006 03:24:01 AM CDT
|
846
|
3 " Author : Gautam Iyer <gi1242@users.sourceforge.net>
|
|
4 " Description : ftplugin for mrxvtrc
|
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 let b:undo_ftplugin = "setl com< cms< fo<"
|
|
12
|
1122
|
13 " Really any line that does not match an option is a comment. But use '!' for
|
|
14 " compatibility with x-defaults files, and "#" (preferred) for compatibility
|
|
15 " with all other config files.
|
|
16 "
|
|
17 " Comments beginning with "#" are preferred because Vim will not flag the
|
|
18 " first word as a spelling error if it is not capitalised. The '!' used as
|
|
19 " comment leaders makes Vim think that every comment line is a new sentence.
|
846
|
20
|
1122
|
21 setlocal comments=:!,:# commentstring=#\ %s
|
|
22 setlocal formatoptions-=t formatoptions+=croql
|