docs: misc

Close #37458
Close #37838
Close #37840
Close #37872
Close #37890
Close #38016
Close #38051
Close #38189
Close #38225
Close #38243
Close #38250

Co-authored-by: Colin Kennedy <colinvfx@gmail.com>
Co-authored-by: "Mike J. McGuirk" <mike.j.mcguirk@gmail.com>
Co-authored-by: Austin Rambo <ramboaustin13@gmail.com>
Co-authored-by: Jonathan Birk <1965620+cafce25@users.noreply.github.com>
Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Co-authored-by: Mike Smith <10135646+mikesmithgh@users.noreply.github.com>
Co-authored-by: Saad Nadeem <saadndm.sn@gmail.com>
Co-authored-by: brianhuster <phambinhanctb2004@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Yi Ming <ofseed@foxmail.com>
This commit is contained in:
Justin M. Keyes
2026-03-11 18:24:57 +01:00
parent a3058abf30
commit 682f5fee60
13 changed files with 32 additions and 24 deletions

View File

@@ -8669,7 +8669,7 @@ M.funcs = {
]=],
name = 'readdir',
params = { { 'directory', 'string' }, { 'expr', 'integer' } },
params = { { 'directory', 'string' }, { 'expr', 'integer|string|fun(name: string): integer' } },
signature = 'readdir({directory} [, {expr}])',
},
readfile = {
@@ -9176,7 +9176,7 @@ M.funcs = {
]=],
name = 'screencol',
params = {},
returns = 'integer[]',
returns = 'integer',
signature = 'screencol()',
},
screenpos = {
@@ -9209,6 +9209,7 @@ M.funcs = {
]=],
name = 'screenpos',
params = { { 'winid', 'integer' }, { 'lnum', 'integer' }, { 'col', 'integer' } },
returns = '{ col: integer, curscol: integer, endcol: integer, row: integer }',
signature = 'screenpos({winid}, {lnum}, {col})',
},
screenrow = {
@@ -9671,6 +9672,7 @@ M.funcs = {
{ 'timeout', 'integer' },
{ 'skip', 'string|function' },
},
returns = '{ [1]: integer, [2]: integer, [3]: integer? }',
signature = 'searchpos({pattern} [, {flags} [, {stopline} [, {timeout} [, {skip}]]]])',
},
serverlist = {