Bram Moolenaar | 437df8f | 2006-04-27 21:47:44 +0000 | [diff] [blame] | 1 | " Created : Wed 26 Apr 2006 01:20:53 AM CDT |
Bram Moolenaar | 313b723 | 2007-05-05 17:56:55 +0000 | [diff] [blame] | 2 | " Modified : Fri 28 Apr 2006 03:24:01 AM CDT |
Bram Moolenaar | 437df8f | 2006-04-27 21:47:44 +0000 | [diff] [blame] | 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 | |
Bram Moolenaar | 313b723 | 2007-05-05 17:56:55 +0000 | [diff] [blame] | 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. |
Bram Moolenaar | 437df8f | 2006-04-27 21:47:44 +0000 | [diff] [blame] | 20 | |
Bram Moolenaar | 313b723 | 2007-05-05 17:56:55 +0000 | [diff] [blame] | 21 | setlocal comments=:!,:# commentstring=#\ %s |
| 22 | setlocal formatoptions-=t formatoptions+=croql |