From c8bf6db666817bb601370653b6c6115c5daf7a8c Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 10 Feb 2022 21:50:26 -0500 Subject: [PATCH] Addition config for dap-mode with python --- emacs.d/init.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 8d343ca..6f19ae6 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -246,9 +246,17 @@ (lsp-ui-doc-show)) (use-package dap-mode + :after lsp-mode + :commands dap-debug + :hook ((python-mode . dap-ui-mode) + (python-mode . dap-mode)) :config (dap-ui-mode 1) - (dap-tooltip-mode 1)) + (dap-tooltip-mode 1) + (eval-when-compile + (require 'cl-lib)) + (require 'dap-python) + (require 'dap-lldb)) (use-package company :config