From 4376502abf200296b168481b4e44440555b4f2f5 Mon Sep 17 00:00:00 2001 From: h-east Date: Tue, 1 Jul 2025 07:13:02 +0900 Subject: [PATCH] Tweak documentation style --- runtime/doc/options.txt | 6 +++--- runtime/doc/tabpage.txt | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 1b6cae7c70..70ba147fad 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1812,7 +1812,7 @@ A jump table for the options with a short description can be found at |Q_op|. register. When "unnamed" is also included to the option, yank operations (but not delete, change or put) will additionally copy the text into register '*'. If - wayland is being used and the compositor does not + Wayland is being used and the compositor does not support the primary-selection-unstable-v1 protocol, then the regular selection is used in its place. Only available with the |+X11| or |+wayland_clipboard| @@ -1854,7 +1854,7 @@ A jump table for the options with a short description can be found at |Q_op|. exclude:{pattern} Defines a pattern that is matched against the name of the terminal 'term'. If there is a match, no - connection will be made to the X server or wayland + connection will be made to the X server or Wayland compositor. This is useful in this situation: - Running Vim in a console. - $DISPLAY/$WAYLAND_DISPLAY is set to start @@ -1890,7 +1890,7 @@ A jump table for the options with a short description can be found at |Q_op|. x11 X11 selections Note: This option is ignored when either the GUI is running or if Vim - is run on a system without wayland or X11 support, such as Windows or + is run on a system without Wayland or X11 support, such as Windows or macOS. The GUI or system way of accessing the clipboard is always used instead. diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt index 2be0a91e21..c0e590203d 100644 --- a/runtime/doc/tabpage.txt +++ b/runtime/doc/tabpage.txt @@ -19,6 +19,8 @@ when used in combination with more than one tab page. {not able to use multiple tab pages when the |+windows| feature was disabled at compile time} +{not able to use |tabpanel| feature when the |+tabpanel| feature was disabled +at compile time} ============================================================================== 1. Introduction *tab-page-intro* @@ -438,15 +440,15 @@ side of the window. It looks like this: < To configure the tabpanel, use the following options: 'tabpanel', 'showtabpanel' and 'tabpanelopt'. -The 'tabpanel' and 'showtabpanel' options function similar to -'statusline' or 'tabline'. +The 'tabpanel' option functions similar to 'statusline' or 'tabline', and the +'showtabpanel' option functions similar to 'laststatus' or 'showtabline'. The "columns:" item of 'tabpanelopt' option specifies the width of the tabpanel: > - +------ This width - | - <----+-----> + +------ This width + | + <----+-----> +-----------+---------------------------------- |(1) |text text text text text text text | ~/aaa.txt|text text text text text text text @@ -464,9 +466,9 @@ The "vert" item of the 'tabpanelopt' option specifies whether a vertical separator should be displayed between the tabpanel and the display part of the window: > - +------ This is - | - v + +------ This is + | + v +-----------+---------------------------------- |(1) |text text text text text text text | ~/aaa.txt|text text text text text text text