diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-27 21:09:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-27 21:09:30 +0100 |
commit | 5f73ef8d20070cd45c9aea4dc33c2e0657f5515c (patch) | |
tree | 4a223aa7d89da5c1d733287193626efee279155e /src/testdir/test_arabic.vim | |
parent | 8195247054a659fe5cbc238197634d5e13e8e8e9 (diff) |
patch 8.0.1553: cannot see what digraph is used to insert a characterv8.0.1553
Problem: Cannot see what digraph is used to insert a character.
Solution: Show the digraph with the "ga" command. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test_arabic.vim')
-rw-r--r-- | src/testdir/test_arabic.vim | 6 |
1 files changed, 3 insertions, 3 deletions
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 |