mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
runtime(doc): fix return type in getqflist() and getloclist()
Problem: `call getqflist({})` will return `{}`, which is type dict<any>
Solution: fix it in the document.
closes: #19197
Signed-off-by: Mao-Yining <101858210+mao-yining@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
8211f556df
commit
745335c876
@@ -1,4 +1,4 @@
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2026 Jan 03
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2026 Jan 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -4727,7 +4727,7 @@ getloclist({nr} [, {what}]) *getloclist()*
|
||||
:echo getloclist(3, {'all': 0})
|
||||
:echo getloclist(5, {'filewinid': 0})
|
||||
<
|
||||
Return type: list<dict<any>> or list<any>
|
||||
Return type: list<dict<any>> or dict<any>
|
||||
|
||||
|
||||
getmarklist([{buf}]) *getmarklist()*
|
||||
@@ -5008,7 +5008,7 @@ getqflist([{what}]) *getqflist()*
|
||||
:echo getqflist({'nr': 2, 'title': 1})
|
||||
:echo getqflist({'lines' : ["F1:10:L10"]})
|
||||
<
|
||||
Return type: list<dict<any>> or list<any>
|
||||
Return type: list<dict<any>> or dict<any>
|
||||
|
||||
|
||||
getreg([{regname} [, 1 [, {list}]]]) *getreg()*
|
||||
|
||||
Reference in New Issue
Block a user