From 3924ec874d0a633716bd98b43ca7d8feb4e72ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hatvani=20Tam=C3=A1s?= Date: Fri, 10 Apr 2026 10:34:19 +0200 Subject: [PATCH] fixed cpp build path --- lua/kickstart/plugins/debug.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 18c6527..09600d2 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -137,7 +137,7 @@ return { local project_name = vim.fn.fnamemodify(cwd, ':t') -- 3. Construct your specific build path - local auto_path = cwd .. '/build/bin/Debug-linux-x86_64/' .. project_name .. '/' .. project_name + local auto_path = cwd .. '/build/bin/Debug-Linux-x86_64/' .. project_name .. '/' .. project_name -- 4. Check if it actually exists. If it does, run it instantly! if vim.fn.filereadable(auto_path) == 1 then @@ -145,7 +145,7 @@ return { end -- 5. Fallback: If it couldn't find it, pop open an input box so you can type it manually - return vim.fn.input('Path to executable: ', cwd .. '/build/bin/Debug-linux-x86_64/', 'file') + return vim.fn.input('Path to executable: ', cwd .. '/build/bin/Debug-Linux-x86_64/', 'file') end, cwd = '${workspaceFolder}', stopOnEntry = false,