From e461245ca6c60d81bbc3ee36618a7f7baa6e2d95 Mon Sep 17 00:00:00 2001 From: omicron Date: Tue, 17 Feb 2026 14:28:20 +0100 Subject: [PATCH] Update formatting to use stylua --- .stylua.toml | 3 +++ src/LibFreeMedia.lua | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .stylua.toml diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..e55efd5 --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,3 @@ +indent_type = "Spaces" +indent_width = 4 +column_width = 120 diff --git a/src/LibFreeMedia.lua b/src/LibFreeMedia.lua index 45500c0..d3dc8ff 100644 --- a/src/LibFreeMedia.lua +++ b/src/LibFreeMedia.lua @@ -3,6 +3,7 @@ if not lib then return end +-- stylua: ignore local DEFAULT_MEDIA_TABLE = { background = { ["Blizzard Dialog Background"] = "Interfacee\\DialogFrame\\UI-DialogBox-Background", @@ -58,7 +59,6 @@ end local DEFAULT_MEDIA_LIST = MakeDefaultList() - -- Interopability with a proprietary alternative is contained in this block do local libsm = LibStub:GetLibrary("LibSharedMedia-3.0", true) @@ -87,7 +87,6 @@ do lib.mediaList = libsm.MediaList end - ---@param kind string The kind of media you are registering. E.g. "font" or "background" ---@param identifier string Named identifier for the media ---@param data any @@ -111,7 +110,6 @@ local function RegisterOne(kind, identifier, data) return true end - ---@param kind string The kind of media you are registering. E.g. "font" or "background" ---@param identifier string Named identifier for the media ---@param data any