mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
docs(api): tweak data arg for nvim_create_autocmd (#22008)
Fixes #21964
This commit is contained in:
@@ -3281,7 +3281,7 @@ nvim_create_autocmd({event}, {*opts}) *nvim_create_autocmd()*
|
|||||||
• match: (string) expanded value of |<amatch>|
|
• match: (string) expanded value of |<amatch>|
|
||||||
• buf: (number) expanded value of |<abuf>|
|
• buf: (number) expanded value of |<abuf>|
|
||||||
• file: (string) expanded value of |<afile>|
|
• file: (string) expanded value of |<afile>|
|
||||||
• data: (any) arbitrary data passed to
|
• data: (any) arbitrary data passed from
|
||||||
|nvim_exec_autocmds()|
|
|nvim_exec_autocmds()|
|
||||||
|
|
||||||
• command (string) optional: Vim command to execute on event.
|
• command (string) optional: Vim command to execute on event.
|
||||||
|
@@ -404,7 +404,7 @@ cleanup:
|
|||||||
/// - match: (string) expanded value of |<amatch>|
|
/// - match: (string) expanded value of |<amatch>|
|
||||||
/// - buf: (number) expanded value of |<abuf>|
|
/// - buf: (number) expanded value of |<abuf>|
|
||||||
/// - file: (string) expanded value of |<afile>|
|
/// - file: (string) expanded value of |<afile>|
|
||||||
/// - data: (any) arbitrary data passed to |nvim_exec_autocmds()|
|
/// - data: (any) arbitrary data passed from |nvim_exec_autocmds()|
|
||||||
/// - command (string) optional: Vim command to execute on event. Cannot be used with
|
/// - command (string) optional: Vim command to execute on event. Cannot be used with
|
||||||
/// {callback}
|
/// {callback}
|
||||||
/// - once (boolean) optional: defaults to false. Run the autocommand
|
/// - once (boolean) optional: defaults to false. Run the autocommand
|
||||||
|
Reference in New Issue
Block a user