diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-09-15 14:14:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-15 14:14:21 +0100 |
| commit | c171a697cbee36c4f36535e14f1407909733ca4b (patch) | |
| tree | 945a337b27aa3f15b26250d40b5535a5ead33181 /runtime/lua/vim/lsp/protocol.lua | |
| parent | 3f21132a65a9c1f9ae5307bb59a5c730240c4a34 (diff) | |
| download | rneovim-c171a697cbee36c4f36535e14f1407909733ca4b.tar.gz rneovim-c171a697cbee36c4f36535e14f1407909733ca4b.tar.bz2 rneovim-c171a697cbee36c4f36535e14f1407909733ca4b.zip | |
fix(lua): add missing param annotations (#41911)
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
| -rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index fff076e307..664c9798be 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -1,6 +1,8 @@ --- @diagnostic disable: duplicate-doc-alias ----@param tbl table<string, string|number> +---@generic T: string|number +---@param tbl table<string, T> +---@return T[] local function get_value_set(tbl) local value_set = {} for _, v in pairs(tbl) do |