From 3605644b755f5733a307b5f788224d211d80cabf Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 24 Aug 2021 08:26:18 +0800 Subject: Add magit and dap-mode into emacs config --- .emacs.d/lisp/init-lang.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.emacs.d') 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) -- cgit v1.2.3