diff options
author | Jaskaran Singh <jaskaransingh7654321@gmail.com> | 2019-09-14 03:16:19 +0530 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-13 14:46:19 -0700 |
commit | 3afb397407af3c94fc82d694186e8d451e625237 (patch) | |
tree | 6178036f4d81fd706eff8926f96876eb195faeb4 /runtime | |
parent | 35341b34b835eeb184ac9f0e2078ce31f6612fd7 (diff) | |
download | rneovim-3afb397407af3c94fc82d694186e8d451e625237.tar.gz rneovim-3afb397407af3c94fc82d694186e8d451e625237.tar.bz2 rneovim-3afb397407af3c94fc82d694186e8d451e625237.zip |
syntax, TUI: support "strikethrough"
fix #3436
Includes:
vim-patch:8.0.1038: strike-through text not supported
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 1 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 2 | ||||
-rw-r--r-- | runtime/doc/ui.txt | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index c38edb5f92..512cfc4e58 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -8397,6 +8397,7 @@ synIDattr({synID}, {what} [, {mode}]) *synIDattr()* "standout" "1" if standout "underline" "1" if underlined "undercurl" "1" if undercurled + "strikethrough" "1" if struckthrough Example (echoes the color of the syntax item under the cursor): > diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index a027f66a3f..0a4257e2b2 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4720,6 +4720,7 @@ the same syntax file on all UIs. *bold* *underline* *undercurl* *inverse* *italic* *standout* + *strikethrough* cterm={attr-list} *attr-list* *highlight-cterm* *E418* attr-list is a comma separated list (without spaces) of the following items (in any order): @@ -4730,6 +4731,7 @@ cterm={attr-list} *attr-list* *highlight-cterm* *E418* inverse same as reverse italic standout + strikethrough NONE no attributes used (used to reset it) Note that "bold" can be used here and by using a bold font. They diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index 872049b356..a2f19593ae 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -290,6 +290,7 @@ numerical highlight ids to the actual attributes. switched. `italic`: italic text. `bold`: bold text. + `strikethrough`: struckthrough text. `underline`: underlined text. The line has `special` color. `undercurl`: undercurled text. The curl has `special` color. `blend`: Blend level (0-100). Could be used by UIs to support @@ -447,6 +448,7 @@ is not active. New UIs should implement |ui-linegrid| instead. switched. `italic`: italic text. `bold`: bold text. + `strikethrough`: struckthrough text. `underline`: underlined text. The line has `special` color. `undercurl`: undercurled text. The curl has `special` color. |