annotate runtime/keymap/hebrew.vim @ 19866:1136ec381dd2 v8.2.0489

patch 8.2.0489: Vim9: memory leaks Commit: https://github.com/vim/vim/commit/25b70c780a7e6063544e7f93c368fe403076f34e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 1 16:34:17 2020 +0200 patch 8.2.0489: Vim9: memory leaks Problem: Vim9: memory leaks. Solution: Free memory in the right place. Add hints for using asan.
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Apr 2020 16:45:05 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 let encoding = &enc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 if encoding == 'latin1'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 if has("unix")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 let encoding = 'iso-8859-8'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 let encoding = 'cp1255'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 if encoding == 'utf-8'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 source <sfile>:p:h/hebrew_utf-8.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 elseif encoding == 'cp1255'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 source <sfile>:p:h/hebrew_cp1255.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 source <sfile>:p:h/hebrew_iso-8859-8.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif