annotate runtime/ftplugin/nsis.vim @ 18514:39b0c28fe495 v8.1.2251

patch 8.1.2251: ":term command" may not work without a shell Commit: https://github.com/vim/vim/commit/197c6b7da3ad4c3e3942a553f5dbc35722a4a349 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 3 23:37:12 2019 +0100 patch 8.1.2251: ":term command" may not work without a shell Problem: ":term command" may not work without a shell. Solution: Add the ++shell option to :term. (closes https://github.com/vim/vim/issues/3340)
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 Nov 2019 23:45:03 +0100
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