From b6f203fa56fa7c095e40c27fa18d6a9f134c9158 Mon Sep 17 00:00:00 2001 From: Maciej Sobieraj Date: Wed, 24 Jan 2024 16:15:06 +0000 Subject: [PATCH] Convert table value to string --- lua/chatgpt/help.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/chatgpt/help.lua b/lua/chatgpt/help.lua index dd436054..72b43977 100644 --- a/lua/chatgpt/help.lua +++ b/lua/chatgpt/help.lua @@ -40,7 +40,7 @@ M.get_help_panel = function(type) for _, k in pairs(settings_keys) do local key = NuiText( - " " .. settings[k] .. string.rep(" ", max_setting_value_length + 1 - #settings[k]), + " " .. tostring(settings[k]) .. string.rep(" ", max_setting_value_length + 1 - #settings[k]), Config.options.highlights.help_key )