mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
fix(undotree): mark title field annotation as optional (#36102)
* fix(undotree): mark title field annotation as optional * fix(doc): run make doc for undotree annotation change
This commit is contained in:
@@ -181,9 +181,9 @@ open({opts}) *undotree.open()*
|
||||
• {command} (`string?`) Vimscript command to create the
|
||||
window. Default value is "30vnew". Only used when {winid} is
|
||||
nil.
|
||||
• {title} (`string|fun(bufnr:integer):string?`) Title of the
|
||||
window. If a function, it accepts the buffer number of the
|
||||
source buffer as its only argument and should return a
|
||||
• {title} (`(string|fun(bufnr:integer):string?)?`) Title of
|
||||
the window. If a function, it accepts the buffer number of
|
||||
the source buffer as its only argument and should return a
|
||||
string.
|
||||
|
||||
|
||||
|
||||
@@ -287,7 +287,7 @@ end
|
||||
---
|
||||
--- Title of the window. If a function, it accepts the buffer number of the
|
||||
--- source buffer as its only argument and should return a string.
|
||||
--- @field title (string|fun(bufnr:integer):string|nil)
|
||||
--- @field title (string|fun(bufnr:integer):string|nil)?
|
||||
|
||||
--- Open a window that displays a textual representation of the undotree.
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user