From 5f73ef8d20070cd45c9aea4dc33c2e0657f5515c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 27 Feb 2018 21:09:30 +0100 Subject: patch 8.0.1553: cannot see what digraph is used to insert a character Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt) --- src/testdir/test_arabic.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/testdir/test_arabic.vim') diff --git a/src/testdir/test_arabic.vim b/src/testdir/test_arabic.vim index e62b022632..17e925ee7f 100644 --- a/src/testdir/test_arabic.vim +++ b/src/testdir/test_arabic.vim @@ -16,9 +16,9 @@ func s:get_chars(lnum) let numchars = strchars(getline('.'), 1) for i in range(1, numchars) exe 'norm ' i . '|' - let c=execute('ascii') - let c=substitute(c, '\n\?<.\{-}Hex\s*', 'U+', 'g') - let c=substitute(c, ',\s*Octal\s*\d*', '', 'g') + let c = execute('ascii') + let c = substitute(c, '\n\?<.\{-}Hex\s*', 'U+', 'g') + let c = substitute(c, ',\s*Oct\(al\)\=\s\d*\(, Digr ..\)\=', '', 'g') call add(chars, c) endfor return chars -- cgit v1.2.3