diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-05-20 05:21:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-20 05:21:27 -0400 |
| commit | f1fad32e2ea4e5d06994d123603b565aa9c03a32 (patch) | |
| tree | 414a52657e736d598250bf7bce44d54e034bacaf /runtime/lua/vim/_meta/api.gen.lua | |
| parent | 5181984db990111c76d7d7bceb3d7acba7da4406 (diff) | |
| download | rneovim-f1fad32e2ea4e5d06994d123603b565aa9c03a32.tar.gz rneovim-f1fad32e2ea4e5d06994d123603b565aa9c03a32.tar.bz2 rneovim-f1fad32e2ea4e5d06994d123603b565aa9c03a32.zip | |
docs: misc, custom text-object #39877
text-object-define is a pattern I found in tpope's plugins (e.g.
https://github.com/tpope/vim-jdaddy) which shows an elegant way to
define a text-object. (Any mistakes in the example are my fault.)
Diffstat (limited to 'runtime/lua/vim/_meta/api.gen.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/api.gen.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/api.gen.lua b/runtime/lua/vim/_meta/api.gen.lua index f463bf7928..e5648706da 100644 --- a/runtime/lua/vim/_meta/api.gen.lua +++ b/runtime/lua/vim/_meta/api.gen.lua @@ -1231,7 +1231,8 @@ function vim.api.nvim_exec(src, output) end --- - output: (string|nil) Output if `opts.output` is true. function vim.api.nvim_exec2(src, opts) end ---- Executes handlers for {event} that match the corresponding {opts} query. `autocmd-execute` +--- Executes {event} handlers matching the {opts} query, in the context of {buf} (if given). `autocmd-execute` +--- --- @see `:help :doautocmd` --- @param event vim.api.keyset.events|vim.api.keyset.events[] Event(s) to execute. --- @param opts vim.api.keyset.exec_autocmds Optional filters: |