diff options
| author | Shadman <shadmansaleh3@gmail.com> | 2026-03-27 16:24:14 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-27 06:24:14 -0400 |
| commit | 4b643d7068e871e4bee8ab74f3f0a054c242fa33 (patch) | |
| tree | e5823b4963e9385e9bd26e74f8b023cb42ced276 /runtime/lua/vim/_meta/api_keysets.lua | |
| parent | 925e9e87222cba0c48d2a9184fa3e5fcad65d4ba (diff) | |
feat(progress): set Progress-event pattern to "source" #38495
Problem:
Currently, there's no way to distinguish progress messages coming from
different sources. Nor can Progress event be easily filtered based on
source.
Solution:
- Add "source" field to nvim_echo-opts.
- The Progress event pattern is now defined by the "source" field.
- Include the "title" as ev.data.
- Unrelated change: set force=false to disable nesting.
Diffstat (limited to 'runtime/lua/vim/_meta/api_keysets.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/api_keysets.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/api_keysets.lua b/runtime/lua/vim/_meta/api_keysets.lua index 7f4feba87d..273d25a285 100644 --- a/runtime/lua/vim/_meta/api_keysets.lua +++ b/runtime/lua/vim/_meta/api_keysets.lua @@ -242,6 +242,7 @@ error('Cannot require a meta file') --- @field title? string --- @field status? string --- @field percent? integer +--- @field source? string --- @field data? table<string,any> --- @class vim.api.keyset.empty |
