From cd64f5abd46e24509b8650f7ecfa30d3f0152b0e Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 26 Jan 2019 20:10:59 +0100 Subject: gen_api_vimdoc.py: Do not wrap on hyphens, long words - Any long symbol is intentional and should never be hardwrapped. - Vim help tags are often hyphenated, and hardwrapping on hyphens breaks the Vim help syntax parser. --- runtime/doc/api.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'runtime') diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 1d2764b9ee..658e81689b 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -291,8 +291,8 @@ nvim_input({keys}) *nvim_input()* Note: For mouse events use |nvim_input_mouse()|. The pseudokey - form "" is deprecated since |api- - level| 6. + form "" is deprecated since + |api-level| 6. Attributes: ~ {async} @@ -1254,8 +1254,8 @@ nvim_buf_set_virtual_text({buffer}, {ns_id}, {line}, {chunks}, {opts}) By default (and currently the only option) the text will be placed after the buffer text. Virtual text will never cause reflow, rather virtual text will be truncated at the end of - the screen line. The virtual text will begin one cell (|lcs- - eol| or space) after the ordinary text. + the screen line. The virtual text will begin one cell + (|lcs-eol| or space) after the ordinary text. Namespaces are used to support batch deletion/updating of virtual text. To create a namespace, use @@ -1274,8 +1274,8 @@ nvim_buf_set_virtual_text({buffer}, {ns_id}, {line}, {chunks}, {opts}) {buffer} Buffer handle {ns_id} Namespace to use or 0 to create a namespace, or -1 for a ungrouped annotation - {line} Line to annotate with virtual text (zero- - indexed) + {line} Line to annotate with virtual text + (zero-indexed) {chunks} A list of [text, hl_group] arrays, each representing a text chunk with specified highlight. `hl_group` element can be omitted for -- cgit