annotate runtime/ftplugin/nsis.vim @ 12401:eb8d5c4936f1 v8.0.1080

patch 8.0.1080: memory leak for eof_chars terminal option and buffer name commit https://github.com/vim/vim/commit/74121231be50e245d18c64281fdef08e7ec1ed5b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 9 16:34:32 2017 +0200 patch 8.0.1080: memory leak for eof_chars terminal option and buffer name Problem: Memory leak for eof_chars terminal option and buffer name. Solution: Free job options. Free the buffer name
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Sep 2017 16:45:04 +0200
parents 1218c5353e2b
children 371ceeebbdaa
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: NSIS script
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-09
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< def< inc<"
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:*/,b:#,:; 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 define=^\\s*!define\\%(\\%(utc\\)\\=date\\|math\\)\\=
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
19 setlocal include=^\\s*!include\\%(/NONFATAL\\)\\=
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
20
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
21 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
22 unlet s:cpo_save