add function annotations to utils

This commit is contained in:
Michael Chris Lopez
2021-11-08 17:47:14 +08:00
parent 75ab2a5d5b
commit 7dc1515116
3 changed files with 18 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
local M = {}
--- Map palette to 16 ansi colors.
---@param p table
---@return table
function M.colors_map(p)
@@ -23,6 +24,7 @@ function M.colors_map(p)
}
end
--- Apply a palette to g:terminal_color_*.
---@param p table
---@return nil
function M.apply_colors(p)