Skip to content

Commit

Permalink
Add nvim-dap and nvim-dap-ui
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan <[email protected]>
  • Loading branch information
Ryan committed Dec 29, 2024
1 parent f96f455 commit 3f0e50d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ Plug g:NvideConf_PluginDownloadAddr . 'neoclide/coc.nvim', {'branch': 'release'}
Plug g:NvideConf_PluginDownloadAddr . 'Yggdroot/LeaderF', { 'do': ':LeaderfInstallCExtension' }
Plug g:NvideConf_PluginDownloadAddr . 'Yggdroot/LeaderF-marks'

Plug g:NvideConf_PluginDownloadAddr . 'mfussenegger/nvim-dap'
Plug g:NvideConf_PluginDownloadAddr . 'nvim-neotest/nvim-nio'
Plug g:NvideConf_PluginDownloadAddr . 'rcarriga/nvim-dap-ui'

Plug g:NvideConf_PluginDownloadAddr . 'tpope/vim-fugitive'
Plug g:NvideConf_PluginDownloadAddr . 'nvim-lua/plenary.nvim'
Plug g:NvideConf_PluginDownloadAddr . 'lewis6991/gitsigns.nvim'
Expand Down Expand Up @@ -771,6 +775,20 @@ require('ufo').setup({
fold_virt_text_handler = handler,
})
EOF

" Plug Config: dap {{{
lua << EOF
require("dapui").setup()
local dap = require("dap")

dap.adapters.cppdbg = {
id = 'cppdbg',
type = 'executable',
command = '~/bin/debugAdapters/bin/OpenDebugAD7',
}
require('dap.ext.vscode').load_launchjs(nil, { cppdbg = {'c', 'cpp'} })
EOF

"}}}

endif " g:NvideConf_UseIdeFeature
Expand Down

0 comments on commit 3f0e50d

Please sign in to comment.