annotate runtime/ftplugin/nsis.vim @ 5547:270c62fe685a v7.4.122

updated for version 7.4.122 Problem: Win32: When 'encoding' is set to "utf-8" and the active codepage is cp932 then ":grep" and other commands don't work for multi-byte characters. Solution: (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Wed, 11 Dec 2013 17:58:35 +0100
parents f4f8014d516e
children 1218c5353e2b
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
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
2 " Language: NSIS script
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
4 " Latest Revision: 2008-07-09
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