summaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-05 17:56:55 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-05 17:56:55 +0000
commit313b7237adc1808b896d2bdc54963c1c90c72e87 (patch)
tree6d7bbc9c93ec9ffab4949e097d99ddffe066c8e4 /runtime/ftplugin
parent9964e468c0209f6b8286e0b08109817c845a3079 (diff)
downloadvim-git-313b7237adc1808b896d2bdc54963c1c90c72e87.tar.gz
updated for version 7.1a
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/mrxvtrc.vim12
1 files changed, 10 insertions, 2 deletions
diff --git a/runtime/ftplugin/mrxvtrc.vim b/runtime/ftplugin/mrxvtrc.vim
index d1313bc20..15cc0db6e 100644
--- a/runtime/ftplugin/mrxvtrc.vim
+++ b/runtime/ftplugin/mrxvtrc.vim
@@ -1,5 +1,5 @@
" Created : Wed 26 Apr 2006 01:20:53 AM CDT
-" Modified : Thu 27 Apr 2006 03:29:13 AM CDT
+" Modified : Fri 28 Apr 2006 03:24:01 AM CDT
" Author : Gautam Iyer <gi1242@users.sourceforge.net>
" Description : ftplugin for mrxvtrc
@@ -10,5 +10,13 @@ let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
-setlocal comments=:! commentstring=!\ %s formatoptions-=t formatoptions+=croql
+" Really any line that does not match an option is a comment. But use '!' for
+" compatibility with x-defaults files, and "#" (preferred) for compatibility
+" with all other config files.
+"
+" Comments beginning with "#" are preferred because Vim will not flag the
+" first word as a spelling error if it is not capitalised. The '!' used as
+" comment leaders makes Vim think that every comment line is a new sentence.
+setlocal comments=:!,:# commentstring=#\ %s
+setlocal formatoptions-=t formatoptions+=croql