annotate runtime/ftplugin/nsis.vim @ 16805:384375708770

Added tag v8.1.1404 for changeset 9fa322a3bc311dd72e0a2d17a5199a8885b12d7b
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 May 2019 21:00:06 +0200
parents 371ceeebbdaa
children ebedba7a4898
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
13125
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
2 " Language: NSIS script
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
3 " Maintainer: Ken Takata
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
4 " URL: https://github.com/k-takata/vim-nsis
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
5 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
6 " Last Change: 2018-01-26
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
7
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
8 if exists("b:did_ftplugin")
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
9 finish
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
10 endif
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
11
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
12 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
13 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
14
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
15 let b:did_ftplugin = 1
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
16
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
17 let b:undo_ftplugin = "setl com< cms< fo< def< inc<"
13125
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
18 \ " | unlet! b:match_ignorecase b:match_words"
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
19
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
20 setlocal comments=s1:/*,mb:*,ex:*/,b:#,:; commentstring=;\ %s
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
21 setlocal formatoptions-=t formatoptions+=croql
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
22 setlocal define=^\\s*!define\\%(\\%(utc\\)\\=date\\|math\\)\\=
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
23 setlocal include=^\\s*!include\\%(/NONFATAL\\)\\=
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
24
13125
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
25 if exists("loaded_matchit")
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
26 let b:match_ignorecase = 1
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
27 let b:match_words =
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
28 \ '\${\%(If\|IfNot\|Unless\)}:\${\%(Else\|ElseIf\|ElseIfNot\|ElseUnless\)}:\${\%(EndIf\|EndUnless\)},' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
29 \ '\${Select}:\${EndSelect},' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
30 \ '\${Switch}:\${EndSwitch},' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
31 \ '\${\%(Do\|DoWhile\|DoUntil\)}:\${\%(Loop\|LoopWhile\|LoopUntil\)},' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
32 \ '\${\%(For\|ForEach\)}:\${Next},' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
33 \ '\<Function\>:\<FunctionEnd\>,' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
34 \ '\<Section\>:\<SectionEnd\>,' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
35 \ '\<SectionGroup\>:\<SectionGroupEnd\>,' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
36 \ '\<PageEx\>:\<PageExEnd\>,' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
37 \ '\${MementoSection}:\${MementoSectionEnd},' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
38 \ '!if\%(\%(macro\)\?n\?def\)\?\>:!else\>:!endif\>,' .
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
39 \ '!macro\>:!macroend\>'
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
40 endif
371ceeebbdaa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
41
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
42 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
43 unlet s:cpo_save