diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-05-13 21:33:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 21:33:22 +0200 |
commit | 08991b078267e5de0a19a136d00d4f71ad651a32 (patch) | |
tree | db27a8ff42290280c6d5dcf703d003a3cbbf5746 /src | |
parent | 1f33b2b1e873a9c39a1abeb446d7889e0bfb2557 (diff) | |
download | rneovim-08991b078267e5de0a19a136d00d4f71ad651a32.tar.gz rneovim-08991b078267e5de0a19a136d00d4f71ad651a32.tar.bz2 rneovim-08991b078267e5de0a19a136d00d4f71ad651a32.zip |
docs: small fixes
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: HiPhish <hiphish@posteo.de>
Co-authored-by: Julio B <julio.bacel@gmail.com>
Co-authored-by: T727 <74924917+T-727@users.noreply.github.com>
Co-authored-by: camoz <camoz@users.noreply.github.com>
Co-authored-by: champignoom <66909116+champignoom@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/api/command.c | 1 | ||||
-rw-r--r-- | src/nvim/main.c | 3 | ||||
-rw-r--r-- | src/nvim/os/time.c | 2 | ||||
-rw-r--r-- | src/nvim/viml/parser/expressions.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/command.c b/src/nvim/api/command.c index 3df80e3fed..b1603c5d6e 100644 --- a/src/nvim/api/command.c +++ b/src/nvim/api/command.c @@ -916,6 +916,7 @@ static void build_cmdline_str(char **cmdlinep, exarg_T *eap, CmdParseInfo *cmdin /// - args: (string) The args passed to the command, if any |<args>| /// - fargs: (table) The args split by unescaped whitespace (when more than one /// argument is allowed), if any |<f-args>| +/// - nargs: (string) Number of arguments |:command-nargs| /// - bang: (boolean) "true" if the command was executed with a ! modifier |<bang>| /// - line1: (number) The starting line of the command range |<line1>| /// - line2: (number) The final line of the command range |<line2>| diff --git a/src/nvim/main.c b/src/nvim/main.c index 4b96f5839d..659eccc6f0 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -443,8 +443,7 @@ int main(int argc, char **argv) // If using the runtime (-u is not NONE), enable syntax & filetype plugins. if (!vimrc_none || params.clean) { - // Sources filetype.lua and filetype.vim unless the user explicitly disabled it with :filetype - // off. + // Sources filetype.lua unless the user explicitly disabled it with :filetype off. filetype_maybe_enable(); // Sources syntax/syntax.vim. We do this *after* the user startup scripts so that users can // disable syntax highlighting with `:syntax off` if they wish. diff --git a/src/nvim/os/time.c b/src/nvim/os/time.c index 8d77e58177..0c3b254b9a 100644 --- a/src/nvim/os/time.c +++ b/src/nvim/os/time.c @@ -74,7 +74,7 @@ void os_delay(uint64_t ms, bool ignoreinput) /// /// This blocks even "fast" events which is quite disruptive. This should only /// be used in debug code. Prefer os_delay() and decide if the delay should be -/// interupted by input or only a CTRL-C. +/// interrupted by input or only a CTRL-C. /// /// @see uv_sleep() (libuv v1.34.0) /// diff --git a/src/nvim/viml/parser/expressions.c b/src/nvim/viml/parser/expressions.c index d1c6426cba..830d8c5f34 100644 --- a/src/nvim/viml/parser/expressions.c +++ b/src/nvim/viml/parser/expressions.c @@ -2866,7 +2866,7 @@ viml_pexpr_parse_no_paren_closing_error: {} case kENodeOperator: if (prev_token.type == kExprLexSpacing) { // For some reason "function (args)" is a function call, but - // "(funcref) (args)" is not. AFAIR this somehow involves + // "(funcref) (args)" is not. As far as I remember this somehow involves // compatibility and Bram was commenting that this is // intentionally inconsistent and he is not very happy with the // situation himself. |