First commit.

This commit is contained in:
2022-01-09 21:19:46 +01:00
commit df36844dcc
107 changed files with 6565 additions and 0 deletions

26
lisp/utilities/dap.el Normal file
View File

@@ -0,0 +1,26 @@
;;; dap.el --- Debug adapter protocol. -*- lexical-binding: t; -*-
;;; Commentary: Emacs client/library for Debug Adapter Protocol is a wire protocol for communication between client and Debug Server.
;;; Code: https://github.com/emacs-lsp/dap-mode
(use-package dap-mode
:disabled
:pin "MELPA"
:hook ((lsp-mode-hook . dap-mode)
(lsp-mode-hook . dap-ui-mode))
:bind-wrap
(:map lsp-mode-map
((:key :debug :break) . dap-breakpoint-toggle)
((:key :debug :step) . dap-step-in)
((:key :debug :next) . dap-next)
((:key :debug :run) . dap-debug)
((:key :debug :continue) . dap-continue)
((:key :debug :show-value) . dap-ui-inspect-thing-at-point))
:config
(validate-setq
;; Location of persistent breakpoints.
dap-breakpoints-file (path-join *user-cache-directory* "dap-breakpoints")))
(provide 'utilities/dap)
;;; dap.el ends here