Mercurial > vim
view runtime/keymap/hebrew_iso-8859-8.vim @ 34511:5397ce113043 v9.1.0161
patch 9.1.0161: expand() removes slash after env variable that ends with colon
Commit: https://github.com/vim/vim/commit/13a014452a7a020a119ac555a690c65b41f3126d
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Mar 9 17:44:46 2024 +0100
patch 9.1.0161: expand() removes slash after env variable that ends with colon
Problem: expand() removes a slash after an environment variable that
ends with a colon on Windows.
Solution: Check the correct char for a colon (zeertzjq)
closes: #14161
Note: Vim still removes the path-separator at the end, if another path separator
follows directly after it, e.g. on:
```
echo $FOO='/usr/'
echo expand('$FOO/bar') == '/usr/bar'
```
see:
,----[ misc1.c:1630 ]
| // if var[] ends in a path separator and tail[] starts
| // with it, skip a character
| if (after_pathsep(dst, dst + c)
| #if defined(BACKSLASH_IN_FILENAME) || defined(AMIGA)
| && (dst == save_dst || dst[-1] != ':')
| #endif
| && vim_ispathsep(*tail))
| ++tail;
`----
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Mar 2024 18:15:02 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
" Vim Keymap file for hebrew " Maintainer : Ron Aaron <ron@ronware.org> " Last Updated: Wed 28 Feb 2001 21:28:51 " This is the standard Israeli keyboard layout " Use this short name in the status line. let b:keymap_name = "heb" loadkeymap a <char-249> " ù - shin b <char-240> " ð - nun c <char-225> " á - bet d <char-226> " â - gimel e <char-247> " ÷ - qof f <char-235> " ë - kaf g <char-242> " ò - ayin h <char-233> " é - yod i <char-239> " ï - final nun j <char-231> " ç - het k <char-236> " ì - lamed l <char-234> " ê - final kaf m <char-246> " ö - tsadi n <char-238> " î - mem o <char-237> " í - final mem p <char-244> " ô - pe q / " / - slash r <char-248> " ø - resh s <char-227> " ã - dalet t <char-224> " à - alef u <char-229> " å - vav v <char-228> " ä - he w ' " ' - single-quote x <char-241> " ñ - samekh y <char-232> " è - tet z <char-230> " æ - zayin , <char-250> " ú - tav . <char-245> " õ - final tsadi ; <char-243> " ó - final pe ' , " , - comma / . " . - period ` ; " ; - semicolon