feat(api): set nvim_echo() kind for ext_messages (#33998)

Problem:  Unable to emit a message with arbitrary kind.
Solution: Add a "kind" opts field to nvim_echo().
          Use it to set the "list_cmd" kind for vim.show_pos().
This commit is contained in:
luukvbaal
2025-05-27 13:01:10 +02:00
committed by GitHub
parent 3828856233
commit 85d33514f9
8 changed files with 29 additions and 2 deletions

View File

@@ -90,6 +90,7 @@ error('Cannot require a meta file')
--- @class vim.api.keyset.echo_opts
--- @field err? boolean
--- @field verbose? boolean
--- @field kind? string
--- @class vim.api.keyset.empty