docs(eval): getline and indent function support string type

Problem: getline and indent function missing string type in param.

Solution: add string type in eval gen.
This commit is contained in:
glepnir
2024-02-29 19:39:11 +08:00
committed by Lewis Russell
parent 2c8f36a3b0
commit 6ab0876f51
2 changed files with 4 additions and 4 deletions

View File

@@ -3973,7 +3973,7 @@ M.funcs = {
|getbufoneline()|
]=],
name = 'getline',
params = { { 'lnum', 'integer' }, { 'end', 'nil|false' } },
params = { { 'lnum', 'integer|string' }, { 'end', 'nil|false' } },
signature = 'getline({lnum} [, {end}])',
returns = 'string',
},
@@ -5220,7 +5220,7 @@ M.funcs = {
]=],
name = 'indent',
params = { { 'lnum', 'integer' } },
params = { { 'lnum', 'integer|string' } },
returns = 'integer',
signature = 'indent({lnum})',
},