Mercurial > vim
comparison runtime/ftplugin/framescript.vim @ 1698:f4f8014d516e v7.2c.000
updated for version 7.2c-000
author | vimboss |
---|---|
date | Wed, 06 Aug 2008 17:06:04 +0000 |
parents | |
children | 1218c5353e2b |
comparison
equal
deleted
inserted
replaced
1697:2f9308b31181 | 1698:f4f8014d516e |
---|---|
1 " Vim ftplugin file | |
2 " Language: FrameScript | |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2008-07-19 | |
5 | |
6 let s:cpo_save = &cpo | |
7 set cpo&vim | |
8 | |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin = 1 | |
13 | |
14 let b:undo_ftplugin = "setl com< cms< fo< inc< | unlet! b:matchwords" | |
15 | |
16 setlocal comments=s1:/*,mb:*,ex:*/,:// commentstring=/*\ %s\ */ | |
17 setlocal formatoptions-=t formatoptions+=croql | |
18 setlocal include=^\\s*<#Include | |
19 | |
20 if exists("loaded_matchit") | |
21 let s:not_end = '\c\%(\<End\)\@<!' | |
22 let b:match_words = | |
23 \ s:not_end . '\<If\>:\c\<ElseIf\>:\c\<Else\>:\c\<EndIf\>,' . | |
24 \ s:not_end . '\<Loop\>:\c\<EndLoop\>' . | |
25 \ s:not_end . '\<Sub\>:\c\<EndSub\>' | |
26 unlet s:not_end | |
27 endif | |
28 | |
29 let &cpo = s:cpo_save | |
30 unlet s:cpo_save |