aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-24 23:00:58 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-25 10:17:00 -0500
commit8cf4a02bf23af9eaafba3f0dbc1c613aa1b91575 (patch)
treef3540275141ba48a1be85488cf204b41cfdcd105 /src/nvim/testdir
parent0813bb021aa64a1479990be9e17196b32d9d50f2 (diff)
downloadrneovim-8cf4a02bf23af9eaafba3f0dbc1c613aa1b91575.tar.gz
rneovim-8cf4a02bf23af9eaafba3f0dbc1c613aa1b91575.tar.bz2
rneovim-8cf4a02bf23af9eaafba3f0dbc1c613aa1b91575.zip
vim-patch:8.1.2212: cannot see the selection type in :reg output
Problem: Cannot see the selection type in :reg output. (Ayberk Aydın) Solution: Add c/l/b. (Christian Brabandt, closes vim/vim#5110, closes vim/vim#4546) https://github.com/vim/vim/commit/3691f1ee72b68a47e6dcc75927bfa46565cf3614 Patch v8.1.0999 is not ported so ":registers" does not omit register 1.
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_registers.vim30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/nvim/testdir/test_registers.vim b/src/nvim/testdir/test_registers.vim
index 2f72b6a4c0..8a90f9b251 100644
--- a/src/nvim/testdir/test_registers.vim
+++ b/src/nvim/testdir/test_registers.vim
@@ -52,27 +52,27 @@ func Test_display_registers()
let b = execute('registers')
call assert_equal(a, b)
- call assert_match('^\n--- Registers ---\n'
- \ . '"" a\n'
- \ . '"0 ba\n'
- \ . '"1 b\n'
- \ . '"a b\n'
+ call assert_match('^\nType Name Content\n'
+ \ . ' c "" a\n'
+ \ . ' c "0 ba\n'
+ \ . ' c "1 b\n'
+ \ . ' c "a b\n'
\ . '.*'
- \ . '"- a\n'
+ \ . ' c "- a\n'
\ . '.*'
- \ . '": ls\n'
- \ . '"% file2\n'
- \ . '"# file1\n'
- \ . '"/ bar\n'
- \ . '"= 2\*4', a)
+ \ . ' c ": ls\n'
+ \ . ' c "% file2\n'
+ \ . ' c "# file1\n'
+ \ . ' c "/ bar\n'
+ \ . ' c "= 2\*4', a)
let a = execute('registers a')
- call assert_match('^\n--- Registers ---\n'
- \ . '"a b', a)
+ call assert_match('^\nType Name Content\n'
+ \ . ' c "a b', a)
let a = execute('registers :')
- call assert_match('^\n--- Registers ---\n'
- \ . '": ls', a)
+ call assert_match('^\nType Name Content\n'
+ \ . ' c ": ls', a)
bwipe!
endfunc