fixed lazy loading of dap
This commit is contained in:
parent
186052c31a
commit
45ea60d689
@ -110,7 +110,9 @@ return require('packer').startup(function()
|
|||||||
{ 'ray-x/cmp-treesitter' },
|
{ 'ray-x/cmp-treesitter' },
|
||||||
{ 'hrsh7th/cmp-nvim-lsp-signature-help' },
|
{ 'hrsh7th/cmp-nvim-lsp-signature-help' },
|
||||||
{ 'p00f/clangd_extensions.nvim' },
|
{ 'p00f/clangd_extensions.nvim' },
|
||||||
{ 'rcarriga/cmp-dap' },
|
{ 'rcarriga/cmp-dap',
|
||||||
|
opt = true,
|
||||||
|
module = 'cmp_dap' },
|
||||||
},
|
},
|
||||||
config = get_setup('my_cmp'),
|
config = get_setup('my_cmp'),
|
||||||
})
|
})
|
||||||
@ -214,9 +216,20 @@ return require('packer').startup(function()
|
|||||||
module = 'dapui'
|
module = 'dapui'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
keys = { '<F5>', '<F9>' },
|
keys = {
|
||||||
module = 'dap',
|
{ 'n', '<F5>' },
|
||||||
config = get_setup('my_dap'),
|
{ 'n', '<F6>' },
|
||||||
|
{ 'n', '<F7>' },
|
||||||
|
{ 'n', '<F8>' },
|
||||||
|
{ 'n', '<F9>' },
|
||||||
|
{ 'n', '<F10>' },
|
||||||
|
{ 'n', '<F11>' },
|
||||||
|
{ 'n', '<S-F11>' }
|
||||||
|
},
|
||||||
|
-- module = 'dap',
|
||||||
|
config = function ()
|
||||||
|
require('setup/my_dap')
|
||||||
|
end,
|
||||||
opt = true,
|
opt = true,
|
||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user