diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-02-01 17:21:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 17:21:42 +0000 |
commit | 9ce44a750c2a65082962effe6ce4d185b7698d73 (patch) | |
tree | 3fb2dff57e50748829759f4d6adb42bf60830ae7 /test/functional/plugin/man_spec.lua | |
parent | 4cc0d6b854b44c0b8466e0a84bbc9e350cda8c4f (diff) | |
download | rneovim-9ce44a750c2a65082962effe6ce4d185b7698d73.tar.gz rneovim-9ce44a750c2a65082962effe6ce4d185b7698d73.tar.bz2 rneovim-9ce44a750c2a65082962effe6ce4d185b7698d73.zip |
fix(man): use italics for `<bs>_` (#22086)
fix(man): use italics for <bs>_
Even though underline is strictly what this should be. <bs>_ was used by
nroff to indicate italics which wasn't possible on old typewriters so
underline was used. Modern terminals now support italics so lets use
that now.
See:
- https://unix.stackexchange.com/questions/274658/purpose-of-ascii-text-with-overstriking-file-format/274795#274795
- https://cmd.inp.nsk.su/old/cmd2/manuals/unix/UNIX_Unleashed/ch08.htm
Diffstat (limited to 'test/functional/plugin/man_spec.lua')
-rw-r--r-- | test/functional/plugin/man_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/plugin/man_spec.lua b/test/functional/plugin/man_spec.lua index c6c7d2b03d..58da059be6 100644 --- a/test/functional/plugin/man_spec.lua +++ b/test/functional/plugin/man_spec.lua @@ -59,7 +59,7 @@ describe(':Man', function() screen:expect([[ ^this {b:is} {b:a} test | - with {u:overstruck} text | + with {i:overstruck} text | {eob:~ }| {eob:~ }| | @@ -98,7 +98,7 @@ describe(':Man', function() screen:expect([[ ^this {b:is} {b:あ} test | - with {u:överstrũck} te{i:xt¶} | + with {i:överstrũck} te{i:xt¶} | {eob:~ }| {eob:~ }| | @@ -115,7 +115,7 @@ describe(':Man', function() screen:expect([[ {b:^_begins} | {b:mid_dle} | - {u:mid_dle} | + {i:mid_dle} | {eob:~ }| | ]]) |