annotate runtime/ftplugin/framescript.vim @ 22573:e327c9690dbe

Added tag v8.2.1834 for changeset 0fd4d7548b07636509d862a680f37dd9f3bd1514
author Bram Moolenaar <Bram@vim.org>
date Sun, 11 Oct 2020 18:15:05 +0200
parents 1218c5353e2b
children 34b4eb3a8458
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
1 " Vim ftplugin file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
2 " Language: FrameScript
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
4 " Latest Revision: 2008-07-19
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
5
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
6 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
7 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
8
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
9 if exists("b:did_ftplugin")
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
10 finish
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
11 endif
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
12 let b:did_ftplugin = 1
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
13
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
14 let b:undo_ftplugin = "setl com< cms< fo< inc< | unlet! b:matchwords"
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
15
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
16 setlocal comments=s1:/*,mb:*,ex:*/,:// commentstring=/*\ %s\ */
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
17 setlocal formatoptions-=t formatoptions+=croql
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
18 setlocal include=^\\s*<#Include
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
19
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
20 if exists("loaded_matchit")
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
21 let s:not_end = '\c\%(\<End\)\@<!'
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
22 let b:match_words =
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
23 \ s:not_end . '\<If\>:\c\<ElseIf\>:\c\<Else\>:\c\<EndIf\>,' .
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
24 \ s:not_end . '\<Loop\>:\c\<EndLoop\>' .
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
25 \ s:not_end . '\<Sub\>:\c\<EndSub\>'
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
26 unlet s:not_end
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
27 endif
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
28
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
29 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
30 unlet s:cpo_save