annotate runtime/ftplugin/pascal.vim @ 49:000769ce6c9d default tip

Added tag v7-3-618 for changeset 67300faee616
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 01 Aug 2012 18:08:37 +0900
parents 67300faee616
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
1 " Vim filetype plugin file
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
2 " Language: pascal
39
c16898406ff2 synchorinize version 7.3.081
one@zeus.cr.ie.u-ryukyu.ac.jp
parents: 0
diff changeset
3 " Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
48
67300faee616 v7-3-618
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 39
diff changeset
4 " Last Changed: 11 Apr 2011
39
c16898406ff2 synchorinize version 7.3.081
one@zeus.cr.ie.u-ryukyu.ac.jp
parents: 0
diff changeset
5 " URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
6
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
7 if exists("b:did_ftplugin") | finish | endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
8 let b:did_ftplugin = 1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
9
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
10 if exists("loaded_matchit")
48
67300faee616 v7-3-618
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 39
diff changeset
11 let b:match_ignorecase = 1 " (pascal is case-insensitive)
67300faee616 v7-3-618
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 39
diff changeset
12
67300faee616 v7-3-618
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 39
diff changeset
13 let b:match_words = '\<\%(begin\|case\|record\|object\|try\)\>'
67300faee616 v7-3-618
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 39
diff changeset
14 let b:match_words .= ':\<^\s*\%(except\|finally\)\>:\<end\>'
67300faee616 v7-3-618
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 39
diff changeset
15 let b:match_words .= ',\<repeat\>:\<until\>'
67300faee616 v7-3-618
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 39
diff changeset
16 let b:match_words .= ',\<if\>:\<else\>'
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
17 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
18
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
19 " Undo the stuff we changed.
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
20 let b:undo_ftplugin = "unlet! b:match_words"