diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2022-10-16 15:55:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 14:55:18 -0700 |
commit | 935e1ca743abb4fce1effef063e5645f3df88119 (patch) | |
tree | 96bf21e128c8e355cd8be1363136cc9be64f630c | |
parent | 0b71960ab1bcbcc42f2d6abba4c72cd6ac3c840b (diff) | |
download | rneovim-935e1ca743abb4fce1effef063e5645f3df88119.tar.gz rneovim-935e1ca743abb4fce1effef063e5645f3df88119.tar.bz2 rneovim-935e1ca743abb4fce1effef063e5645f3df88119.zip |
feat: mention ":help news" in intro #20674
-rw-r--r-- | src/nvim/version.c | 3 | ||||
-rw-r--r-- | test/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 index d4d406482d..32e15f200a 100644 --- 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 index 0898d7fe75..8ab25d0102 100644 --- 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" } }} |