diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index e8baad6d86..17e4295ed9 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -487,7 +487,7 @@ CompleteDone After Insert mode completion is done. Either - "accept": completion was accepted by |complete_CTRL-Y|. - "cancel": completion was - stopped by |complete_CTRL-E. + stopped by |complete_CTRL-E|. - "discard": completion was abandoned for other reason. diff --git a/runtime/doc/debug.txt b/runtime/doc/debug.txt index 7b08e61655..c716f62aa3 100644 --- a/runtime/doc/debug.txt +++ b/runtime/doc/debug.txt @@ -160,5 +160,4 @@ In WinDbg: choose Open Crash Dump on the File menu. Follow the instructions in Visual Studio 2017 Community Edition can be downloaded for free from: https://visualstudio.microsoft.com/downloads/ -========================================================================= vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt index 219ecc8db1..793a77bf95 100644 --- a/runtime/doc/deprecated.txt +++ b/runtime/doc/deprecated.txt @@ -95,7 +95,7 @@ LUA • vim.validate(opts: table) Use form 1. See |vim.validate()|. VIMSCRIPT -• *termopen()* Use |jobstart() with `{term: v:true}`. +• *termopen()* Use |jobstart()| with `{term: v:true}`. ------------------------------------------------------------------------------ DEPRECATED IN 0.10 *deprecated-0.10* diff --git a/runtime/doc/dev_style.txt b/runtime/doc/dev_style.txt index 97d5ebdb52..cbfe637abf 100644 --- a/runtime/doc/dev_style.txt +++ b/runtime/doc/dev_style.txt @@ -901,8 +901,8 @@ Return Values ~ Do not needlessly surround the `return` expression with parentheses. -Use parentheses in `return expr`; only where you would use them in `x = -expr;`. >c +Use parentheses in `return expr;` only where you would also use them in +`x = expr;`. >c return result; return (some_long_condition && another_condition); diff --git a/runtime/doc/dev_tools.txt b/runtime/doc/dev_tools.txt index efc6ce277a..13f45eceec 100644 --- a/runtime/doc/dev_tools.txt +++ b/runtime/doc/dev_tools.txt @@ -171,8 +171,8 @@ USING GDBSERVER IN TMUX Consider using a custom makefile https://github.com/neovim/neovim/blob/master/BUILD.md#custom-makefile to quickly start debugging sessions using the `gdbserver` method mentioned above. -This example `local.mk` will create the debugging session when you type `make -debug`. +This example `local.mk` will create the debugging session when you type +`make debug`. >make .PHONY: dbg-start dbg-attach debug build diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt index 8d60d2c868..3feef6887a 100644 --- a/runtime/doc/develop.txt +++ b/runtime/doc/develop.txt @@ -201,7 +201,7 @@ Docstring format: - Markdown is supported. - Tags are written as `[tag]()`. - References are written as `[tag]` -- Use ``` for code samples. +- Use "```" for code samples. Code samples can be annotated as `vim` or `lua` Example: the help for |nvim_open_win()| is generated from a docstring defined @@ -245,7 +245,7 @@ Docstring format: - Markdown is supported. - Tags are written as `[tag]()`. - References are written as `[tag]` -- Use ``` for code samples. +- Use "```" for code samples. Code samples can be annotated as `vim` or `lua` - Use `@since ` to note the |api-level| when the function became "stable". If `` is greater than the current stable release (or diff --git a/runtime/doc/fold.txt b/runtime/doc/fold.txt index 9e61e40814..b819a67067 100644 --- a/runtime/doc/fold.txt +++ b/runtime/doc/fold.txt @@ -647,5 +647,4 @@ If this buffer has been edited in this window, the values from back then are used. Otherwise the values from the window where the buffer was edited last are used. -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/ft_ada.txt b/runtime/doc/ft_ada.txt index 337a4cba6a..fbb53d2711 100644 --- a/runtime/doc/ft_ada.txt +++ b/runtime/doc/ft_ada.txt @@ -507,6 +507,4 @@ taglist.vim The GNU Ada Project distribution (http://gnuada.sourceforge.net) of Vim contains all of the above. -============================================================================== -vim: textwidth=78 nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab -vim: filetype=help + vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/ft_hare.txt b/runtime/doc/ft_hare.txt index 937c5e0961..3fb0d65464 100644 --- a/runtime/doc/ft_hare.txt +++ b/runtime/doc/ft_hare.txt @@ -73,5 +73,4 @@ The maximum search depth can be set to any integer, but using values higher than 2 is not recommended, and will likely provide no tangible benefit in most situations. -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/ft_ps1.txt b/runtime/doc/ft_ps1.txt index 3eb89a4c24..2ce9fa538f 100644 --- a/runtime/doc/ft_ps1.txt +++ b/runtime/doc/ft_ps1.txt @@ -60,5 +60,4 @@ Many other distributions are available for Windows like https://chocolatey.org/packages/less/. Make sure `less` is in a directory listed in the `PATH` environment variable, which chocolatey above does. ------------------------------------------------------------------------------- vim:ft=help: diff --git a/runtime/doc/ft_rust.txt b/runtime/doc/ft_rust.txt index 159ff7d5f6..5b5a73373c 100644 --- a/runtime/doc/ft_rust.txt +++ b/runtime/doc/ft_rust.txt @@ -475,4 +475,4 @@ MAPPINGS *rust-mappings* This plugin defines mappings for |[[| and |]]| to support hanging indents. -vim:tw=78:sw=4:noet:ts=8:ft=help:norl: + vim:tw=78:sw=4:noet:ts=8:ft=help:norl: diff --git a/runtime/doc/if_perl.txt b/runtime/doc/if_perl.txt index 1fa96e2657..df3d2bd9e0 100644 --- a/runtime/doc/if_perl.txt +++ b/runtime/doc/if_perl.txt @@ -268,5 +268,4 @@ These are also available via the "main" package: $main::curwin The current Window object. $main::curbuf The current Buffer object. -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index 0836ec54d8..8ca26fb107 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -645,6 +645,6 @@ To check if `pyx*` functions and commands are available: >vim if has('pythonx') echo 'pyx* commands are available. (Python ' .. &pyx .. ')' endif +< -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt index a5aaac1a5f..02d685a69e 100644 --- a/runtime/doc/if_ruby.txt +++ b/runtime/doc/if_ruby.txt @@ -189,5 +189,4 @@ evaluate Ruby expressions and pass their values to Vim script. The Ruby value "true", "false" and "nil" are converted to v:true, v:false and v:null, respectively. -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt index f58d845e30..07ead852fd 100644 --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -711,5 +711,4 @@ Arbitrary code registered via |:UpdateRemotePlugins|, that runs in a separate process and communicates with Nvim via the |api|. -============================================================================== vim:tw=78:ts=8:et:sw=4:ft=help:norl: diff --git a/runtime/doc/job_control.txt b/runtime/doc/job_control.txt index d99c76ab22..b4267e5ee8 100644 --- a/runtime/doc/job_control.txt +++ b/runtime/doc/job_control.txt @@ -140,5 +140,4 @@ A job may be killed at any time with the |jobstop()| function: < Individual streams can be closed without killing the job, see |chanclose()|. -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/lua-bit.txt b/runtime/doc/lua-bit.txt index dde235d141..91df5937e4 100644 --- a/runtime/doc/lua-bit.txt +++ b/runtime/doc/lua-bit.txt @@ -379,5 +379,4 @@ COPYRIGHT Lua BitOp is Copyright (C) 2008-2012 Mike Pall. Lua BitOp is free software, released under the MIT license. -============================================================================== vim:tw=78:ts=4:sw=4:sts=4:et:ft=help:norl: diff --git a/runtime/doc/luaref.txt b/runtime/doc/luaref.txt index 57e24fa75d..1e25d3c81a 100644 --- a/runtime/doc/luaref.txt +++ b/runtime/doc/luaref.txt @@ -1654,8 +1654,8 @@ lua_Alloc *lua_Alloc* `NULL` if and only if it cannot fill the request. When `nsize` is not zero and `osize` is zero, the allocator should behave like `malloc`. When `nsize` and `osize` are not zero, the allocator behaves like - `realloc`. Lua assumes that the allocator never fails when `osize >= - nsize`. + `realloc`. Lua assumes that the allocator never fails when + `osize >= nsize`. Here is a simple implementation for the allocator function. It is used in the auxiliary library by `luaL_newstate` (see @@ -3567,8 +3567,8 @@ collectgarbage({opt} [, {arg}]) *collectgarbage()* `true` if the step finished a collection cycle. `"setpause"` sets {arg} /100 as the new value for the `pause` of the collector (see |lua-gc|). - `"setstepmul"` sets {arg} /100 as the new value for the `step - multiplier` of the collector (see |lua-gc|). + `"setstepmul"` sets {arg} /100 as the new value for the + `step multiplier` of the collector (see |lua-gc|). dofile({filename}) *dofile()* Opens the named file and executes its contents as a Lua chunk. When @@ -4785,8 +4785,8 @@ debug.sethook([{thread},] {hook}, {mask} [, {count}]) *debug.sethook()* When called without arguments, the `debug.sethook` turns off the hook. When the hook is called, its first parameter is a string describing - the event that triggered its call: `"call"`, `"return"` (or `"tail - return"`), `"line"`, and `"count"`. For line events, the hook also + the event that triggered its call: `"call"`, `"return"` (or + `"tail return"`), `"line"`, and `"count"`. For line events, the hook also gets the new line number as its second parameter. Inside a hook, you can call `getinfo` with level 2 to get more information about the running function (level 0 is the `getinfo` function, and level 1 is @@ -4885,5 +4885,4 @@ Christian Habermann's CRefVim project Adapted for bundled Nvim documentation; the original plugin can be found at https://www.vim.org/scripts/script.php?script_id=1291 ------------------------------------------------------------------------------- - vi:tw=78:ts=4:ft=help:norl:et + vim:tw=78:ts=4:ft=help:norl:et diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt index 3f7c53ee9c..a1290136a0 100644 --- a/runtime/doc/mbyte.txt +++ b/runtime/doc/mbyte.txt @@ -476,7 +476,7 @@ and what the keymaps are to get those characters: glyph encoding keymap ~ Char UTF-8 cp1255 hebrew hebrewp name ~ -א 0x5d0 0xe0 t a ´alef +א 0x5d0 0xe0 t a alef ב 0x5d1 0xe1 c b bet ג 0x5d2 0xe2 d g gimel ד 0x5d3 0xe3 s d dalet @@ -494,7 +494,7 @@ Char UTF-8 cp1255 hebrew hebrewp name ~ ן 0x5df 0xef i N nun sofit נ 0x5e0 0xf0 b n nun ס 0x5e1 0xf1 x s samech -ע 0x5e2 0xf2 g u `ayin +ע 0x5e2 0xf2 g u ayin ף 0x5e3 0xf3 ; P pe sofit פ 0x5e4 0xf4 p p pe ץ 0x5e5 0xf5 . X tsadi sofit @@ -556,8 +556,8 @@ Char UTF-8 hebrew name ב֯ 0x5af CC masora circle Combining forms: -ﬠ 0xfb20 X` Alternative `ayin -ﬡ 0xfb21 X' Alternative ´alef +ﬠ 0xfb20 X` Alternative ayin +ﬡ 0xfb21 X' Alternative alef ﬢ 0xfb22 X-d Alternative dalet ﬣ 0xfb23 X-h Alternative he ﬤ 0xfb24 X-k Alternative kaf diff --git a/runtime/doc/nvim.txt b/runtime/doc/nvim.txt index 8189cad7c1..6a6e40eed9 100644 --- a/runtime/doc/nvim.txt +++ b/runtime/doc/nvim.txt @@ -98,5 +98,4 @@ However, in general, we recommend (eventually) taking time to learn Nvim from its stock configuration, and incrementally setting options and adding plugins to your |config| as you find an explicit need to do so. -============================================================================== vim:tw=78:ts=8:et:ft=help:norl: diff --git a/runtime/doc/pi_msgpack.txt b/runtime/doc/pi_msgpack.txt index e900af97a8..f85201e574 100644 --- a/runtime/doc/pi_msgpack.txt +++ b/runtime/doc/pi_msgpack.txt @@ -140,5 +140,4 @@ msgpack#equal({msgpack-value}, {msgpack-value}) *msgpack#equal()* |msgpack-special-dict| with equivalent non-special-dict value evaluates to 1. -============================================================================== -vim:tw=78:ts=8:ft=help:fdm=marker + vim:tw=78:ts=8:ft=help:fdm=marker diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt index d9fb679ec0..67554a01fa 100644 --- a/runtime/doc/provider.txt +++ b/runtime/doc/provider.txt @@ -366,5 +366,4 @@ generally inserted with the middle mouse button. Nvim's X11 clipboard providers only use the PRIMARY and CLIPBOARD selections, for the "*" and "+" registers, respectively. -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/remote_plugin.txt b/runtime/doc/remote_plugin.txt index 694c339ef2..d91d878e64 100644 --- a/runtime/doc/remote_plugin.txt +++ b/runtime/doc/remote_plugin.txt @@ -137,5 +137,4 @@ named `rplugin.vim` at: Windows ~ $LOCALAPPDATA/nvim/ or ~/AppData/Local/nvim/ -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/russian.txt b/runtime/doc/russian.txt index 89be1a3c5a..1a6335dcdb 100644 --- a/runtime/doc/russian.txt +++ b/runtime/doc/russian.txt @@ -61,5 +61,4 @@ In order to use the Russian documentation, make sure you have set the is related to a bug in GNU gettext library and may be fixed in the future releases of gettext. -=============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index b8e867b865..146161c266 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1652,7 +1652,7 @@ diverge as follows: 1. The first sentence (all characters up to the first period `.`, which is followed by a whitespace character or a line terminator, or up to the first block tag, e.g. `@param`, `@return`) is colored as - *SpecialComment special comments. + `*SpecialComment` special comments. 2. The text is colored as `*Comment` comments. 3. HTML comments are colored as @@ -1898,9 +1898,9 @@ quoted text and URLs / email addresses). In keeping with standard conventions, signatures begin in a line containing only "--" followed optionally by whitespaces and end with a newline. -Vim treats lines beginning with ']', '}', '|', '>' or a word followed by '>' +Vim treats lines beginning with "]", "}", "|", ">" or a word followed by ">" as quoted text. However Vim highlights headers and signatures in quoted text -only if the text is quoted with '>' (optionally followed by one space). +only if the text is quoted with ">" (optionally followed by one space). By default mail.vim synchronises syntax to 100 lines before the first displayed line. If you have a slow machine, and generally deal with emails @@ -2064,8 +2064,8 @@ To disable highlighting of pronoun substitution patterns inside strings: > :let moo_no_pronoun_sub = 1 -To disable highlighting of the regular expression operator '%|', and matching -'%(' and '%)' inside strings: > +To disable highlighting of the regular expression operator "%|", and matching +"%(" and "%)" inside strings: > :let moo_no_regexp = 1 @@ -2894,7 +2894,7 @@ The value is a space-separated list of keywords: [ Array literal % Literal with "%" notation, e.g.: %w(STRING), %!STRING! / Regexp - string String and shell command output (surrounded by ', ", `) + string String and shell command output (surrounded by ', ", "`") : Symbol # Multiline comment << Here documents diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index 4852a986fe..c28f1c8111 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -884,5 +884,4 @@ must handle. ["msg_history_clear"] ~ Clear the |:messages| history. -============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt index b0384df454..2c518eeb3f 100644 --- a/runtime/doc/userfunc.txt +++ b/runtime/doc/userfunc.txt @@ -407,8 +407,8 @@ Now `:messages` shows: number 0 Any return value of the deferred function is discarded. The function cannot -be followed by anything, such as "->func" or ".member". Currently `:defer -GetArg()->TheFunc()` does not work, it may work in a later version. +be followed by anything, such as "->func" or ".member". Currently +`:defer GetArg()->TheFunc()` does not work, it may work in a later version. Errors are reported but do not cause aborting execution of deferred functions or altering execution outside of deferred functions. diff --git a/runtime/doc/vietnamese.txt b/runtime/doc/vietnamese.txt index ed3fe9bc68..6c896c09bd 100644 --- a/runtime/doc/vietnamese.txt +++ b/runtime/doc/vietnamese.txt @@ -69,5 +69,4 @@ name of the Vietnamese locale. For example, > Note that the name of the Vietnamese locale may vary depending on your system. See |mbyte-first| for details. -=============================================================================== -vim:tw=78:ts=8:noet:ft=help:norl: + vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 5ddcc7008b..827dc0c7be 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -894,5 +894,4 @@ TUI: at how the terminal is sending CSI. Nvim does not issue such a sequence and always uses 7-bit control sequences. -============================================================================== vim:tw=78:ts=8:sw=2:et:ft=help:norl: