aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-lang.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-lang.el b/.emacs.d/lisp/init-lang.el
index b4b7e89..fc99967 100644
--- a/.emacs.d/lisp/init-lang.el
+++ b/.emacs.d/lisp/init-lang.el
@@ -32,4 +32,18 @@
(kbd "gr") 'lsp-find-references)
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.git\\'"))
+(use-package dap-mode
+ :defer
+ :commands (dap-mode)
+ :ensure t
+ :hook
+ ((lsp-mode . dap-mode))
+ ((go-mode . (lambda () (require 'dap-go))))
+ :config
+ (dap-auto-configure-mode t)
+ (setq dap-auto-configure-features '(sessions locals controls tooltip)))
+
+(use-package magit
+ :ensure t)
+
(provide 'init-lang)