annotate runtime/keymap/hebrewp.vim @ 32625:dce7b700c746
v9.0.1644
patch 9.0.1644: not all filetype file name matches are tested
Commit: https://github.com/vim/vim/commit/bd087ae8f07f026bbd179911830027ff92f42c01
Author: smjonas <jonas.strittmatter@gmx.de>
Date: Thu Jun 22 12:41:19 2023 +0100
patch 9.0.1644: not all filetype file name matches are tested
Problem: Not all filetype file name matches are tested.
Solution: Add more file names to test with. (Jonas Strittmatter,
closes #12569)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Thu, 22 Jun 2023 13:45:03 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 let encoding = &enc
|
|
2 if encoding == 'latin1'
|
|
3 if has("unix")
|
|
4 let encoding = 'iso-8859-8'
|
|
5 else
|
|
6 let encoding = 'cp1255'
|
|
7 endif
|
|
8 endif
|
|
9
|
|
10 if encoding == 'utf-8'
|
|
11 source <sfile>:p:h/hebrewp_utf-8.vim
|
|
12 elseif encoding == 'cp1255'
|
|
13 source <sfile>:p:h/hebrewp_cp1255.vim
|
|
14 else
|
|
15 source <sfile>:p:h/hebrewp_iso-8859-8.vim
|
|
16 endif
|