aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-11-24 11:29:39 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2025-01-11 10:34:12 +0100
commit6a425e7045cca609d95612c0f2cd08d0265238a9 (patch)
tree3d732fb5ce10684dac4e8fb0107c1b3110bd249b /src
parentc060a6ea640eb433197ec554ff7cf6469ee1c0e7 (diff)
downloadrneovim-6a425e7045cca609d95612c0f2cd08d0265238a9.tar.gz
rneovim-6a425e7045cca609d95612c0f2cd08d0265238a9.tar.bz2
rneovim-6a425e7045cca609d95612c0f2cd08d0265238a9.zip
docs: misc
Co-authored-by: Axel <axelhjq@gmail.com> Co-authored-by: Colin Kennedy <colinvfx@gmail.com> Co-authored-by: Daiki Noda <sys9kdr@users.noreply.github.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: Jean-Jacq du Plessis <1030058+jj-du-plessis@users.noreply.github.com> Co-authored-by: Juan Giordana <juangiordana@gmail.com> Co-authored-by: Lincoln Wallace <locnnil0@gmail.com> Co-authored-by: Matti Hellström <hellstrom@scm.com> Co-authored-by: Steven Locorotondo <steven.locorotondo@justeattakeaway.com> Co-authored-by: Yochem van Rosmalen <git@yochem.nl> Co-authored-by: glepnir <glephunter@gmail.com> Co-authored-by: ifish <fishioon@live.com>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.lua1
-rw-r--r--src/nvim/options.lua4
-rw-r--r--src/nvim/window.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 4ce1960dcf..5c7b2791e8 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -9178,6 +9178,7 @@ M.funcs = {
{ 'timeout', 'integer' },
{ 'skip', 'string|function' },
},
+ returns = 'integer',
signature = 'search({pattern} [, {flags} [, {stopline} [, {timeout} [, {skip}]]]])',
},
searchcount = {
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 3142c30080..863f875d9d 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -1531,8 +1531,8 @@ return {
"menu" or "menuone". No effect if "longest" is present.
noselect Same as "noinsert", except that no menu item is
- pre-selected. If both "noinsert" and "noselect" are present,
- "noselect" has precedence.
+ pre-selected. If both "noinsert" and "noselect" are
+ present, "noselect" has precedence.
fuzzy Enable |fuzzy-matching| for completion candidates. This
allows for more flexible and intuitive matching, where
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 8c8df72590..68f45ec5ba 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -6357,7 +6357,7 @@ void win_drag_vsep_line(win_T *dragwin, int offset)
fr = curfr; // put fr at window that grows
}
- // If not enough room thn move as far as we can
+ // If not enough room then move as far as we can
offset = MIN(offset, room);
// No room at all, quit.