annotate runtime/keymap/polish-slash.vim @ 11024:973fa964cb91 v8.0.0401

patch 8.0.0401: test fails with missing balloon feature commit https://github.com/vim/vim/commit/a0107bdf8762d81cb49909ef02ffff9954092fb6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 2 22:48:01 2017 +0100 patch 8.0.0401: test fails with missing balloon feature Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature.
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Mar 2017 23:00:05 +0100
parents 8cd729851562
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
99
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
1 " Polish letters under VIM >= 6
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
2 " Maintainer: HS6_06 <hs6_06@o2.pl>
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
3 " Last changed: 2005 Jan 12
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
4 " Current version: 1.0.2
856
8cd729851562 updated for version 7.0g
vimboss
parents: 99
diff changeset
5 " History:
99
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
6 " 2005.01.12 1.0.2 keymap_name shortened, added Current version, History
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
7 " 2005.01.10 1.0.1 un*x line ends for all files
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
8 " 2005.01.09 1.0.0 Initial release
04f2e519ab18 updated for version 7.0038
vimboss
parents: 96
diff changeset
9
96
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
10 let encoding = &enc
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
11 if encoding == 'latin1'
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
12 if has("unix")
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
13 let encoding = 'iso-8859-2'
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
14 else
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
15 let encoding = 'cp1250'
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
16 endif
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
17 endif
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
18
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
19 if encoding == 'utf-8'
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
20 source <sfile>:p:h/polish-slash_utf-8.vim
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
21 elseif encoding == 'cp1250'
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
22 source <sfile>:p:h/polish-slash_cp1250.vim
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
23 elseif encoding == 'iso-8859-2'
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
24 source <sfile>:p:h/polish-slash_iso-8859-2.vim
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
25 else
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
26 source <sfile>:p:h/polish-slash_cp852.vim
8f25c0d2210f updated for version 7.0037
vimboss
parents:
diff changeset
27 endif