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' },
|
||||
{ 'hrsh7th/cmp-nvim-lsp-signature-help' },
|
||||
{ 'p00f/clangd_extensions.nvim' },
|
||||
{ 'rcarriga/cmp-dap' },
|
||||
{ 'rcarriga/cmp-dap',
|
||||
opt = true,
|
||||
module = 'cmp_dap' },
|
||||
},
|
||||
config = get_setup('my_cmp'),
|
||||
})
|
||||
@ -214,9 +216,20 @@ return require('packer').startup(function()
|
||||
module = 'dapui'
|
||||
},
|
||||
},
|
||||
keys = { '<F5>', '<F9>' },
|
||||
module = 'dap',
|
||||
config = get_setup('my_dap'),
|
||||
keys = {
|
||||
{ 'n', '<F5>' },
|
||||
{ '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,
|
||||
}
|
||||
use {
|
||||
|
Loading…
x
Reference in New Issue
Block a user