mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
vim-patch:8.2.0966: 'shortmess' flag "n" not used in two places
Problem: 'shortmess' flag "n" not used in two places.
Solution: Make use of the "n" flag consistent. (Nick Jensen, closes vim/vim#6245,
closes vim/vim#6244)
722e505d1a
This commit is contained in:
@@ -25,7 +25,7 @@ describe("'shortmess'", function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
"foo" [New File] |
|
||||
"foo" [New] |
|
||||
]])
|
||||
eq(1, eval('bufnr("%")'))
|
||||
|
||||
@@ -50,7 +50,7 @@ describe("'shortmess'", function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
"foo" [New File] |
|
||||
"foo" [New] |
|
||||
]])
|
||||
eq(1, eval('bufnr("%")'))
|
||||
feed(':edit bar<CR>')
|
||||
@@ -59,7 +59,7 @@ describe("'shortmess'", function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
"bar" [New File] |
|
||||
"bar" [New] |
|
||||
]])
|
||||
eq(2, eval('bufnr("%")'))
|
||||
feed(':bprevious<CR>')
|
||||
@@ -68,7 +68,7 @@ describe("'shortmess'", function()
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
"foo" [New file] --No lines in buffer-- |
|
||||
"foo" [New] --No lines in buffer-- |
|
||||
]])
|
||||
eq(1, eval('bufnr("%")'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user