i use arch btw
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

First attempt at getting a debugger to work

+54 -3
+54 -3
nvim/.config/nvim/lua/plugins.lua
··· 118 118 highlight = { 119 119 enable = true, 120 120 }, 121 - -- indent = { 122 - -- enable = true, 123 - -- }, 121 + indent = { 122 + enable = true, 123 + }, 124 124 } 125 125 end, 126 126 } ··· 279 279 } 280 280 281 281 use { 282 + 'jayp0521/mason-nvim-dap.nvim', 283 + after = { 'mason.nvim', 'nvim-dap' }, 284 + config = function() 285 + require('mason-nvim-dap').setup({ 286 + automatic_setup = true, 287 + }) 288 + require('mason-nvim-dap').setup_handlers { 289 + function(source_name) 290 + require('mason-nvim-dap.automatic_setup')(source_name) 291 + end, 292 + cppdbg = function() 293 + local dap = require('dap') 294 + 295 + dap.adapters.cppdbg = { 296 + id = 'cppdbg', 297 + type = 'executable', 298 + command = '/Users/bvan-den/.local/share/nvim//mason/packages/cpptools/extension/debugAdapters/bin/OpenDebugAD7', 299 + } 300 + 301 + dap.configurations.c = { 302 + { 303 + name = 'Launch file', 304 + type = 'cppdbg', 305 + request = 'launch', 306 + program = function() 307 + return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file') 308 + end, 309 + cwd = '${workspaceFolder}', 310 + stopAtEntry = true, 311 + MIMode = 'lldb', 312 + }, 313 + } 314 + end, 315 + } 316 + end, 317 + } 318 + 319 + use { 282 320 'ms-jpq/coq_nvim', 283 321 requires = { 'ms-jpq/coq.artifacts' }, 284 322 config = function() ··· 328 366 config = function() 329 367 require('notify').setup { 330 368 minimum_width = 16, 369 + max_width = 64, 370 + max_height = 10, 331 371 on_open = function(win) 332 372 vim.api.nvim_win_set_option(win, 'winblend', 40) 333 373 vim.api.nvim_win_set_config(win, { zindex = 100 }) 374 + vim.api.nvim_win_set_option(win, 'wrap', true) 334 375 end, 335 376 } 336 377 vim.notify = require('notify') ··· 396 437 } 397 438 398 439 use { 'cacharle/c_formatter_42.vim' } 440 + 441 + use { 'mfussenegger/nvim-dap' } 442 + 443 + use { 444 + 'rcarriga/nvim-dap-ui', 445 + after = { 'nvim-dap' }, 446 + config = function() 447 + require('dapui').setup() 448 + end, 449 + } 399 450 400 451 if packer_bootstrap then 401 452 require('packer').sync()