diff options
author | Guangxiong Lin <[email protected]> | 2021-08-24 08:26:18 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-08-24 08:26:18 +0800 |
commit | 3605644b755f5733a307b5f788224d211d80cabf (patch) | |
tree | e2c63f0732fc892a0dba41d925e5ef20e4f42617 | |
parent | 455bc26edb8bf1e2512cd4739eca82a6b528e9c5 (diff) | |
download | dotfiles-3605644b755f5733a307b5f788224d211d80cabf.tar.gz dotfiles-3605644b755f5733a307b5f788224d211d80cabf.tar.bz2 dotfiles-3605644b755f5733a307b5f788224d211d80cabf.zip |
Add magit and dap-mode into emacs config
-rw-r--r-- | .emacs.d/lisp/init-lang.el | 14 |
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) |