From 036da0d07921e67090d1a62c9a4e382ca09d8584 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 24 Jun 2023 13:47:10 +0200 Subject: fix(docs): vimdoc syntax errors gen_help_html: truncate parse-error sample text --- runtime/doc/usr_21.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc/usr_21.txt') diff --git a/runtime/doc/usr_21.txt b/runtime/doc/usr_21.txt index 191d333f3d..b084936857 100644 --- a/runtime/doc/usr_21.txt +++ b/runtime/doc/usr_21.txt @@ -426,7 +426,7 @@ a line of text that tells Vim the values of options, to be used in this file only. A typical example is a C program where you make indents by a multiple of 4 spaces. This requires setting the 'shiftwidth' option to 4. This modeline -will do that: +will do that: > /* vim:set shiftwidth=4: */ ~ -- cgit From aaa151d506dffa01506619fbdf57537cd2318675 Mon Sep 17 00:00:00 2001 From: ii14 <59243201+ii14@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:07:13 +0200 Subject: docs: remove trailing spaces #24455 --- runtime/doc/usr_21.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'runtime/doc/usr_21.txt') diff --git a/runtime/doc/usr_21.txt b/runtime/doc/usr_21.txt index b084936857..4ae72bbe84 100644 --- a/runtime/doc/usr_21.txt +++ b/runtime/doc/usr_21.txt @@ -82,7 +82,7 @@ After editing for a while you will have text in registers, marks in various files, a command line history filled with carefully crafted commands. When you exit Vim all of this is lost. But you can get it back! -The ShaDa (abbreviation of SHAred DAta) file is designed to store status +The ShaDa (abbreviation of SHAred DAta) file is designed to store status information: Command-line and Search pattern history @@ -218,8 +218,8 @@ Obviously, the "w" stands for "write" and the "r" for "read". The ! character is used by ":wshada" to forcefully overwrite an existing file. When it is omitted, and the file exists, the information is merged into the file. - The ! character used for ":rshada" means that all the information in ShaDa -file has priority over existing information, this may overwrite it. Without + The ! character used for ":rshada" means that all the information in ShaDa +file has priority over existing information, this may overwrite it. Without the ! only information that wasn't set is used. These commands can also be used to store info and use it again later. You could make a directory full of ShaDa files, each containing info for a @@ -277,8 +277,8 @@ example, use: > SESSION HERE, SESSION THERE The obvious way to use sessions is when working on different projects. -Suppose you store your session files in the directory "~/.config/nvim". You -are currently working on the "secret" project and have to switch to the +Suppose you store your session files in the directory "~/.config/nvim". You +are currently working on the "secret" project and have to switch to the "boring" project: > :wall -- cgit