Skip to content

Commit

Permalink
feat: add news blurb to intro text
Browse files Browse the repository at this point in the history
  • Loading branch information
gpanders committed Oct 15, 2022
1 parent 0434f73 commit 12f6551
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/nvim/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -2228,6 +2228,8 @@ void intro_message(int colon)
N_("type :q<Enter> to exit "),
N_("type :help<Enter> for help "),
"",
N_("type :help news<Enter> to see what's changed "),
"",
N_("Help poor children in Uganda!"),
N_("type :help iccf<Enter> for information "),
};
Expand Down
8 changes: 4 additions & 4 deletions test/functional/ui/messages_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,6 @@ describe('ui/ext_messages', function()
{1:~ }|
{1:~ }|
{1:~ }|
{1:~ }|
{MATCH:.*}|
{1:~ }|
{1:~ }Nvim is open source and freely distributable{1: }|
Expand All @@ -1274,14 +1273,15 @@ describe('ui/ext_messages', function()
{1:~ }type :q{5:<Enter>} to exit {1: }|
{1:~ }type :help{5:<Enter>} for help {1: }|
{1:~ }|
{1:~ }type :help news{5:<Enter>} to see what's changed {1: }|
{1:~ }|
{MATCH:.*}|
{MATCH:.*}|
{1:~ }|
{1:~ }|
{1:~ }|
{1:~ }|
{1:~ }|
{1:~ }|
]])

feed("<c-l>")
Expand Down Expand Up @@ -1319,7 +1319,6 @@ describe('ui/ext_messages', function()
|
|
|
|
{MATCH:.*}|
|
Nvim is open source and freely distributable |
Expand All @@ -1330,14 +1329,15 @@ describe('ui/ext_messages', function()
type :q{5:<Enter>} to exit |
type :help{5:<Enter>} for help |
|
type :help news{5:<Enter>} to see what's changed |
|
{MATCH:.*}|
{MATCH:.*}|
|
|
|
|
|
|
]], messages={
{content = { { "Press ENTER or type command to continue", 4 } }, kind = "return_prompt" }
}}
Expand Down

0 comments on commit 12f6551

Please sign in to comment.