local H={{"\110\118\105\109-\116\101\108\101\115\099\111\112\101\047\116\101\108\101\115\099\111\112\101-\100\097\112\046\110\118\105\109";config=function()(require("\116\101\108\101\115\099\111\112\101")).load_extension("\100\097\112")end},{"\109\102\117\115\115\101\110\101\103\103\101\114\047\110\118\105\109-\100\097\112",dependencies={"\108\101\111\108\117\122\047\110\118\105\109-\100\097\112-\103\111";{"\114\099\097\114\114\105\103\097\047\110\118\105\109-\100\097\112-\117\105",dependencies="\110\118\105\109-\110\101\111\116\101\115\116\047\110\118\105\109-\110\105\111"};"\116\104\101\072\097\109\115\116\097\047\110\118\105\109-\100\097\112-\118\105\114\116\117\097\108-\116\101\120\116";"\087\101\105\115\115\108\101\047\112\101\114\115\105\115\116\101\110\116-\098\114\101\097\107\112\111\105\110\116\115\046\110\118\105\109"};event="\086\101\114\121\076\097\122\121",ft={"\099","\103\111";"\114\117\115\116"};config=function(H)vim.api.nvim_create_autocmd("\070\105\108\101\084\121\112\101",{pattern=H.ft;callback=function()(require("\112\101\114\115\105\115\116\101\110\116-\098\114\101\097\107\112\111\105\110\116\115")).setup({load_breakpoints_event={"\066\117\102\082\101\097\100\080\111\115\116"}});(require("\099\111\114\101\046\112\108\117\103\105\110\115\046\100\097\112\046\100\097\112")).setup()end})end}}return H
-- DAP (Debug Adapter Protocol)
local M = {
  {
    'nvim-telescope/telescope-dap.nvim',
    config = function()
      require('telescope').load_extension 'dap'
    end,
  },
  {
    'mfussenegger/nvim-dap',
    dependencies = {
      'leoluz/nvim-dap-go',
      { 'rcarriga/nvim-dap-ui', dependencies = 'nvim-neotest/nvim-nio' },
      'theHamsta/nvim-dap-virtual-text',
      'Weissle/persistent-breakpoints.nvim',
    },
    event = 'VeryLazy',
    ft = { 'c', 'go', 'rust' }, -- Only load it for these file types
    config = function(self)
      vim.api.nvim_create_autocmd('FileType', {
        pattern = self.ft,
        callback = function()
          require('persistent-breakpoints').setup {
            load_breakpoints_event = { 'BufReadPost' },
          }

          require('core.plugins.dap.dap').setup()
        end,
      })
    end,
  },
}

return M
