return{"mfussenegger/nvim-dap",keys={{"r",function()-- Check if any buffer has dap-repl filetypelocalhas_repl=falsefor_,bufinipairs(vim.api.nvim_list_bufs())dolocalft=vim.bo[buf].filetypeifft:find('^dapui')orft=='dap-repl'thenhas_repl=truebreakendendifhas_replthenreturnrequire("dap").continue()endreturn"r"-- fallback to normal 'r' behaviorend,desc="Run/Continue",mode={"n"},expr=true},}}