From 89044bb0b6f6ba77b236b0cf62a53eecdd0a94b9 Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Mon, 24 Feb 2025 18:25:02 -0600 Subject: [PATCH] These file:reads need to be *a instead of a* --- lua/themepark.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/themepark.lua b/lua/themepark.lua index 903615d..d38ec61 100644 --- a/lua/themepark.lua +++ b/lua/themepark.lua @@ -186,7 +186,7 @@ function themepark:init_theme(theme) end local file = io.open(theme_file) if file then - local script = file:read('a*') + local script = file:read('*a') file:close() local func, msg = load(script, theme_file, 't') @@ -243,7 +243,7 @@ function themepark:add_topic(topic, options) error("No topic '" .. topic .. "' in theme '" .. theme_name .. "'") end - local script = file:read('a*') + local script = file:read('*a') file:close() local func, msg = load(script, filename, 't')