From 09c6ce8c4e4c6415cca9b834539ed0df461373f6 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 27 Aug 2022 09:56:58 +0200 Subject: docs: fix typos (#19798) Co-authored-by: adrian5 Co-authored-by: Eisuke Kawashima --- runtime/doc/builtin.txt | 9 ++++----- runtime/doc/lsp.txt | 2 +- runtime/doc/options.txt | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'runtime/doc') diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 8929804388..8cb9149529 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1029,7 +1029,7 @@ chanclose({id} [, {stream}]) *chanclose()* are closed. If the channel is a pty, this will then close the pty master, sending SIGHUP to the job process. For a socket, there is only one stream, and {stream} should be - ommited. + omitted. chansend({id}, {data}) *chansend()* Send data to channel {id}. For a job, it writes it to the @@ -4973,7 +4973,7 @@ matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]]) highlighted matches. The dict can have the following members: conceal Special character to show instead of the - match (only for |hl-Conceal| highlighed + match (only for |hl-Conceal| highlighted matches, see |:syn-cchar|) window Instead of the current window use the window with this number or window ID. @@ -7709,14 +7709,13 @@ stdpath({what}) *stdpath()* *E6100* config String User configuration directory. |init.vim| is stored here. config_dirs List Other configuration directories. - data String User data directory. The |shada-file| - is stored here. + data String User data directory. data_dirs List Other data directories. log String Logs directory (for use by plugins too). run String Run directory: temporary, local storage for sockets, named pipes, etc. state String Session state directory: storage for file - drafts, undo, shada, etc. + drafts, undo, |shada|, etc. Example: > :echo stdpath("config") diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 7fc0daa0ca..9235fdef34 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -468,7 +468,7 @@ LspCodeLens |nvim_buf_set_extmark()|. LspCodeLensSeparator *hl-LspCodeLensSeparator* - Used to color the separator between two or more code lens. + Used to color the separator between two or more code lenses. *lsp-highlight-signature* diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index cd4a1bea5a..9e396dd3e8 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6951,7 +6951,7 @@ A jump table for the options with a short description can be found at |Q_op|. CTRL-P/CTRL-N, cause the highlight to move to the appropriate match. 'wildmode' must specify "full": "longest" and "list" do not start 'wildmenu' mode. You can check the current mode with |wildmenumode()|. - The menu is canceled when a key is hit that is not used for selecting + The menu is cancelled when a key is hit that is not used for selecting a completion. While the menu is active these keys have special meanings: -- cgit