annotate runtime/keymap/croatian.vim @ 22121:b50610a6aee0 v8.2.1610

patch 8.2.1610: Vim9: cannot pass "true" to list2str() and str2list() Commit: https://github.com/vim/vim/commit/a48f786787e8e070c1a611146fd1f0f7e141e60a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 5 20:16:57 2020 +0200 patch 8.2.1610: Vim9: cannot pass "true" to list2str() and str2list() Problem: Vim9: cannot pass "true" to list2str() and str2list(). Solution: Use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6877)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Sep 2020 20:30:03 +0200
parents 18ee39301b82
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1624
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
1 let s:encoding = &enc
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
2 if s:encoding == 'latin1'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
3 if has("unix")
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
4 let s:encoding = 'iso-8859-2'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
5 else
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
6 let s:encoding = 'cp1250'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
7 endif
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
8 endif
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
9
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
10 if s:encoding == 'utf-8'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
11 source <sfile>:p:h/croatian_utf-8.vim
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
12 elseif s:encoding == 'cp1250'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
13 source <sfile>:p:h/croatian_cp1250.vim
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
14 else
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
15 source <sfile>:p:h/croatian_iso-8859-2.vim
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
16 endif