Mercurial > vim
view runtime/keymap/slovak_cp1250.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
" Maintainer: Peter Valach <pvalach@gmx.net> " Last Changed: 2002 Feb 3 " URL: http://www.pv2c.sk/free/sk_vimkeymap/ let b:keymap_name = "sk" loadkeymap " Z a Y - ak chcete slovensku qwerty, zakomentujte tieto styri riadky y z z y Y Z Z Y " Horny riadok ` ; 1 + ! 1 2 ¾ @ 2 3 š # 3 4 è $ 4 5 % 5 6 ž ^ 6 7 ý & 7 8 á * 8 9 í ( 9 0 é ) 0 - = _ % " Klavesy okolo Enteru :) [ ú { / ] ä } ( \\ ò <Bar> ) ; ô : " ' § \" ! ", , ;-) < ? ". . ;-) > : / - ? _ " Dlzne =a á =A Á =e é =E É =i í =I Í =l å =L Å =o ó =O Ó =r à =R À =u ú =U Ú =z ý =Z Ý " pre pripad omylu :) alebo slovenskej QWERTY =y ý =Y Ý " Makcene +a ä +A Ä +c è +C È +d ï +D Ï +l ¾ +L ¼ +n ò +N Ò +o ô +O Ô +s š +S Š +t +T +y ž +Y Ž " pre pripad omylu :) alebo slovenskej QWERTY +z ž +Z Ž