neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 935e1ca743abb4fce1effef063e5645f3df88119
parent 0b71960ab1bcbcc42f2d6abba4c72cd6ac3c840b
Author: Gregory Anders <8965202+gpanders@users.noreply.github.com>
Date:   Sun, 16 Oct 2022 15:55:18 -0600

feat: mention ":help news" in intro #20674


Diffstat:
Msrc/nvim/version.c | 3+++
Mtest/functional/ui/messages_spec.lua | 8++++----
2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/nvim/version.c b/src/nvim/version.c @@ -2228,6 +2228,9 @@ void intro_message(int colon) N_("type :q<Enter> to exit "), N_("type :help<Enter> for help "), "", + N_("type :help news<Enter> to see changes in") + " v" STR(NVIM_VERSION_MAJOR) "." STR(NVIM_VERSION_MINOR) "." STR(NVIM_VERSION_PATCH), + "", N_("Help poor children in Uganda!"), N_("type :help iccf<Enter> for information "), }; diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua @@ -1263,7 +1263,6 @@ describe('ui/ext_messages', function() {1:~ }| {1:~ }| {1:~ }| - {1:~ }| {MATCH:.*}| {1:~ }| {1:~ }Nvim is open source and freely distributable{1: }| @@ -1274,6 +1273,8 @@ 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 changes in v{MATCH:.*}| + {1:~ }| {MATCH:.*}| {MATCH:.*}| {1:~ }| @@ -1281,7 +1282,6 @@ describe('ui/ext_messages', function() {1:~ }| {1:~ }| {1:~ }| - {1:~ }| ]]) feed("<c-l>") @@ -1319,7 +1319,6 @@ describe('ui/ext_messages', function() | | | - | {MATCH:.*}| | Nvim is open source and freely distributable | @@ -1330,6 +1329,8 @@ describe('ui/ext_messages', function() type :q{5:<Enter>} to exit | type :help{5:<Enter>} for help | | + type :help news{5:<Enter>} to see changes in {MATCH:.*}| + | {MATCH:.*}| {MATCH:.*}| | @@ -1337,7 +1338,6 @@ describe('ui/ext_messages', function() | | | - | ]], messages={ {content = { { "Press ENTER or type command to continue", 4 } }, kind = "return_prompt" } }}