From 5400a5d4269874fe4f1c35dfdd3c039ea17dfd62 Mon Sep 17 00:00:00 2001 From: Maxim Kim Date: Fri, 26 Apr 2024 19:53:13 +0200 Subject: runtime(comment): include a simple comment toggling plugin fixes #14626 closes: #14634 Signed-off-by: Maxim Kim Signed-off-by: Christian Brabandt --- runtime/doc/tags | 1 + runtime/doc/usr_05.txt | 14 +++++++++++++- runtime/doc/version9.txt | 3 ++- 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'runtime/doc') diff --git a/runtime/doc/tags b/runtime/doc/tags index dcd8db7e2a..56a38dcbd2 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -6515,6 +6515,7 @@ command-block vim9.txt /*command-block* command-line-functions usr_41.txt /*command-line-functions* command-line-window cmdline.txt /*command-line-window* command-mode intro.txt /*command-mode* +comment-install usr_05.txt /*comment-install* compatible-default starting.txt /*compatible-default* compile-changes-5 version5.txt /*compile-changes-5* compile-changes-6 version6.txt /*compile-changes-6* diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt index 05239eeeb6..063af9bfc7 100644 --- a/runtime/doc/usr_05.txt +++ b/runtime/doc/usr_05.txt @@ -1,4 +1,4 @@ -*usr_05.txt* For Vim version 9.1. Last change: 2023 Sep 12 +*usr_05.txt* For Vim version 9.1. Last change: 2024 Apr 26 VIM USER MANUAL - by Bram Moolenaar @@ -436,6 +436,18 @@ when Vim starts, add the following line to your vimrc file: > After restarting your Vim, the plugin is active and you can read about it at: > :h editorconfig.txt + +Adding comment package *comment-install* + +Load the plugin with this command: > + packadd comment +< +This way you can use the plugin with the default key bindings `gc` and similar +for commenting (which is a well-established mapping in the Vim community). + +After restarting your Vim, the plugin is active and you can read about it at: > + :h comment.txt + More information about packages can be found here: |packages|. ============================================================================== diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt index c2779236ce..03050ee4db 100644 --- a/runtime/doc/version9.txt +++ b/runtime/doc/version9.txt @@ -1,4 +1,4 @@ -*version9.txt* For Vim version 9.1. Last change: 2024 Apr 14 +*version9.txt* For Vim version 9.1. Last change: 2024 Apr 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -41554,6 +41554,7 @@ Enum support for Vim9 script |:enum| Other improvements *new-other-9.2* ------------------ +The comment plugin |comment-install| is included. Changed *changed-9.2* ------- -- cgit v1.2.3