diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2022-08-12 22:40:56 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2022-08-12 22:40:56 +0200 |
commit | b0d9d158b76c307f3947b61d6fe77c79d8423705 (patch) | |
tree | f0faf8d505995705c1d6b30c8c98f8ba3cf7df3b /Emacs.org | |
parent | cf90bbe6634ee90f2aa859602e5226fae2979b1f (diff) | |
download | dotfiles-b0d9d158b76c307f3947b61d6fe77c79d8423705.tar.gz dotfiles-b0d9d158b76c307f3947b61d6fe77c79d8423705.zip |
Add dap mode
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 | ||