docs(api): tweak data arg for nvim_create_autocmd (#22008)

Fixes #21964
This commit is contained in:
Lewis Russell
2023-01-27 11:24:20 +00:00
committed by GitHub
parent 82fb6ce487
commit aec4b476c5
2 changed files with 2 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ cleanup:
/// - match: (string) expanded value of |<amatch>|
/// - buf: (number) expanded value of |<abuf>|
/// - 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
/// {callback}
/// - once (boolean) optional: defaults to false. Run the autocommand