Mercurial > vim
view runtime/keymap/serbian_utf-8.vim @ 33791:370543108ba1 v9.0.2114
patch 9.0.2114: overflow detection not accurate when adding digits
Commit: https://github.com/vim/vim/commit/22cbc8a4e17ce61aa460c451a26e1bff2c3d2af9
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Nov 19 10:47:21 2023 +0100
patch 9.0.2114: overflow detection not accurate when adding digits
Problem: overflow detection not accurate when adding digits
Solution: Use a helper function
Use a helper function to better detect overflows before adding integer
digits to a long or an integer variable respectively. Signal the
overflow to the caller function.
closes: #13539
Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Michael Henry <vim@drmikehenry.com>
Signed-off-by: Ernie Rael <errael@raelity.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Nov 2023 11:00:07 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
" Vim Keymap file for Serbian characters, classical variant, UTF-8 encoding " " Maintainer: Aleksandar Veselinovic <aleksa@cs.cmu.edu> " URL: http://www.cs.cmu.edu/~aleksa/personal/vim/keymap/serbian-UTF-8.vim " Last Changed: 2002 Mar 29 scriptencoding UTF-8 let b:keymap_name = "serbian-UTF-8" loadkeymap Q Љ W Њ E Е R Р T Т Y З U У I И O О P П { Ш } Ђ q љ w њ e е r р t т y з u у i и o о p п [ ш ] ђ A А S С D Д F Ф G Г H Х J Ј K К L Л : Ч \" Ћ \| Ж a а s с d д f ф g г h х j ј k к l л ; ч ' ћ \\ ж "Z З X Џ C Ц V В B Б N Н M М "z з x џ c ц v в b б n н m м < ; > : / - _ ? ,, „ '' ” E$ <char-0x20AC> " EURO SIGN -- <char-0x2013> " endash --- <char-0x2014> " emdash " @ " " # ' " $ * " % : " ^ , " & . " * ;