You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
429 B
Lua
14 lines
429 B
Lua
--- @class libmodal.utils.Indicator
|
|
--- @field hl string the highlight group to use when printing `str`
|
|
--- @field str string the text to write
|
|
local Indicator = {}
|
|
|
|
--- @param highlight_group string the highlight group to use when printing `str`
|
|
--- @param str string what to print
|
|
--- @return libmodal.utils.Indicator
|
|
function Indicator.new(highlight_group, str)
|
|
return {hl = highlight_group, str = str}
|
|
end
|
|
|
|
return Indicator
|