mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
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:
@@ -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})',
|
||||
},
|
||||
|
Reference in New Issue
Block a user