Merge pull request #2242 from seanfarley/smf/dap-cache

tools/dap: move extensions to doom etc dir
This commit is contained in:
Henrik Lissner 2019-12-25 02:40:48 -05:00 committed by GitHub
commit e35a5ee933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,10 @@
(use-package! dap-mode
:when (featurep! :tools lsp)
:after lsp-mode
:preface (setq dap--breakpoints-file (concat doom-etc-dir "dap-breakpoints"))
:init (add-hook 'dap-mode-hook #'dap-ui-mode) ; use a hook so users can remove it
:preface
(add-hook 'dap-mode-hook #'dap-ui-mode) ; use a hook so users can remove it
(setq dap--breakpoints-file (concat doom-etc-dir "dap-breakpoints")
dap-utils-extension-path (concat doom-etc-dir "dap-extension/"))
:config
(dap-mode 1)
(dolist (module '(((:lang . cc) ccls dap-lldb dap-gdb-lldb)