diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 1 | ||||
-rw-r--r-- | runtime/doc/options.txt | 1 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 10 |
3 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index e8bf16e4e5..aea1cce3a4 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7723,6 +7723,7 @@ synIDattr({synID}, {what} [, {mode}]) *synIDattr()* "standout" "1" if standout "underline" "1" if underlined "undercurl" "1" if undercurled + "strike" "1" if strikethrough Example (echoes the color of the syntax item under the cursor): > diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 0018eaaacb..859fbe8f75 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4105,6 +4105,7 @@ A jump table for the options with a short description can be found at |Q_op|. s standout (termcap entry "so" and "se") u underline (termcap entry "us" and "ue") c undercurl (termcap entry "Cs" and "Ce") + t strikethrough (termcap entry "Ts" and "Te") n no highlighting - no highlighting : use a highlight group diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index feeadb3d30..8f887c4288 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4699,13 +4699,14 @@ the same syntax file on all terminals, and use the optimal highlighting. *bold* *underline* *undercurl* *inverse* *italic* *standout* - *nocombine* + *nocombine* *strikethrough* term={attr-list} *attr-list* *highlight-term* *E418* attr-list is a comma separated list (without spaces) of the following items (in any order): bold underline undercurl not always available + strikethrough not always available reverse inverse same as reverse italic @@ -4716,8 +4717,8 @@ term={attr-list} *attr-list* *highlight-term* *E418* Note that "bold" can be used here and by using a bold font. They have the same effect. "undercurl" is a curly underline. When "undercurl" is not possible - then "underline" is used. In general "undercurl" is only available in - the GUI. The color is set with |highlight-guisp|. + then "underline" is used. In general "undercurl" and "strikethrough" + is only available in the GUI. The color is set with |highlight-guisp|. start={term-list} *highlight-start* *E422* stop={term-list} *term-list* *highlight-stop* @@ -4882,7 +4883,8 @@ guifg={color-name} *highlight-guifg* guibg={color-name} *highlight-guibg* guisp={color-name} *highlight-guisp* These give the foreground (guifg), background (guibg) and special - (guisp) color to use in the GUI. "guisp" is used for undercurl. + (guisp) color to use in the GUI. "guisp" is used for undercurl and + strikethrough. There are a few special names: NONE no color (transparent) bg use normal background color |