Update formatting to use stylua
This commit is contained in:
3
.stylua.toml
Normal file
3
.stylua.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
indent_type = "Spaces"
|
||||||
|
indent_width = 4
|
||||||
|
column_width = 120
|
||||||
@@ -3,6 +3,7 @@ if not lib then
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- stylua: ignore
|
||||||
local DEFAULT_MEDIA_TABLE = {
|
local DEFAULT_MEDIA_TABLE = {
|
||||||
background = {
|
background = {
|
||||||
["Blizzard Dialog Background"] = "Interfacee\\DialogFrame\\UI-DialogBox-Background",
|
["Blizzard Dialog Background"] = "Interfacee\\DialogFrame\\UI-DialogBox-Background",
|
||||||
@@ -58,7 +59,6 @@ end
|
|||||||
|
|
||||||
local DEFAULT_MEDIA_LIST = MakeDefaultList()
|
local DEFAULT_MEDIA_LIST = MakeDefaultList()
|
||||||
|
|
||||||
|
|
||||||
-- Interopability with a proprietary alternative is contained in this block
|
-- Interopability with a proprietary alternative is contained in this block
|
||||||
do
|
do
|
||||||
local libsm = LibStub:GetLibrary("LibSharedMedia-3.0", true)
|
local libsm = LibStub:GetLibrary("LibSharedMedia-3.0", true)
|
||||||
@@ -87,7 +87,6 @@ do
|
|||||||
lib.mediaList = libsm.MediaList
|
lib.mediaList = libsm.MediaList
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---@param kind string The kind of media you are registering. E.g. "font" or "background"
|
---@param kind string The kind of media you are registering. E.g. "font" or "background"
|
||||||
---@param identifier string Named identifier for the media
|
---@param identifier string Named identifier for the media
|
||||||
---@param data any
|
---@param data any
|
||||||
@@ -111,7 +110,6 @@ local function RegisterOne(kind, identifier, data)
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---@param kind string The kind of media you are registering. E.g. "font" or "background"
|
---@param kind string The kind of media you are registering. E.g. "font" or "background"
|
||||||
---@param identifier string Named identifier for the media
|
---@param identifier string Named identifier for the media
|
||||||
---@param data any
|
---@param data any
|
||||||
|
|||||||
Reference in New Issue
Block a user