From 222769ba31460b7164dfce47f8a8f46bf99ababb Mon Sep 17 00:00:00 2001 From: orip Date: Fri, 4 Jul 2025 17:51:56 +0300 Subject: [PATCH] Fix formatting for https://github.com/oriori1703/kickstart-modular.nvim/pull/10 --- lua/kickstart/plugins/debug.lua | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index a0d1a1b2..ecfb28fb 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -57,21 +57,15 @@ return { local props = { ['Condition'] = { value = bp.condition, - setter = function(v) - bp.condition = v - end, + setter = function(v) bp.condition = v end, }, ['Hit Condition'] = { value = bp.hitCondition, - setter = function(v) - bp.hitCondition = v - end, + setter = function(v) bp.hitCondition = v end, }, ['Log Message'] = { value = bp.logMessage, - setter = function(v) - bp.logMessage = v - end, + setter = function(v) bp.logMessage = v end, }, } local menu_options = {} @@ -80,9 +74,7 @@ return { end vim.ui.select(menu_options, { prompt = 'Edit Breakpoint', - format_item = function(item) - return ('%s: %s'):format(item, props[item].value) - end, + format_item = function(item) return ('%s: %s'):format(item, props[item].value) end, }, function(choice) if choice == nil then -- User cancelled the selection