diff options
Diffstat (limited to 'Emacs.org')
-rw-r--r-- | Emacs.org | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -39,6 +39,7 @@ | |||
39 | - [[#languages][Languages]] | 39 | - [[#languages][Languages]] |
40 | - [[#lsp][Lsp]] | 40 | - [[#lsp][Lsp]] |
41 | - [[#python][Python]] | 41 | - [[#python][Python]] |
42 | - [[#dap-mode][Dap mode]] | ||
42 | - [[#projectile][Projectile]] | 43 | - [[#projectile][Projectile]] |
43 | - [[#keybinds][Keybinds]] | 44 | - [[#keybinds][Keybinds]] |
44 | - [[#magit][Magit]] | 45 | - [[#magit][Magit]] |
@@ -452,6 +453,29 @@ | |||
452 | 453 | ||
453 | #+end_src | 454 | #+end_src |
454 | 455 | ||
456 | ** Dap mode | ||
457 | |||
458 | #+begin_src emacs-lisp | ||
459 | |||
460 | (use-package dap-mode | ||
461 | ;; Uncomment the config below if you want all UI panes to be hidden by default! | ||
462 | ;; :custom | ||
463 | ;; (lsp-enable-dap-auto-configure nil) | ||
464 | ;; :config | ||
465 | ;; (dap-ui-mode 1) | ||
466 | :commands dap-debug | ||
467 | :config | ||
468 | ;; Set up Node debugging | ||
469 | (require 'dap-node) | ||
470 | (dap-node-setup) ;; Automatically installs Node debug adapter if needed | ||
471 | |||
472 | ;; Bind `C-c l d` to `dap-hydra` for easy access | ||
473 | (general-define-key | ||
474 | :keymaps 'lsp-mode-map | ||
475 | :prefix lsp-keymap-prefix | ||
476 | "d" '(dap-hydra t :wk "debugger"))) | ||
477 | |||
478 | #+end_src | ||
455 | 479 | ||
456 | ** Projectile | 480 | ** Projectile |
457 | 481 | ||