rust dap mode added.

This commit is contained in:
2021-08-17 12:56:43 +09:00
parent 564bc4c953
commit 036f6a111c
3 changed files with 34 additions and 1 deletions

View File

@ -119,6 +119,36 @@
(use-package! vlf-setup
:defer-incrementally vlf-tune vlf-base vlf-write vlf-search vlf-occur vlf-follow vlf-ediff vlf)
(use-package exec-path-from-shell
:ensure
:init (exec-path-from-shell-initialize))
(use-package dap-mode
:ensure
:config
(dap-ui-mode)
(dap-ui-controls-mode 1)
(require 'dap-lldb)
(require 'dap-gdb-lldb)
;; installs .extension/vscode
(dap-gdb-lldb-setup)
(dap-register-debug-template
"Rust::LLDB Run Configuration"
(list :type "lldb"
:request "launch"
:name "LLDB::Run"
:gdbpath "rust-lldb"
:target nil
:cwd nil))
(dap-register-debug-template "Rust::GDB Run Configuration"
(list :type "gdb"
:request "launch"
:name "GDB::Run"
:gdbpath "rust-gdb"
:target nil
:cwd nil)))
;; Time
(setq display-time-world-list
'(("Etc/UTC" "UTC")

View File

@ -112,7 +112,8 @@
:lang
;;agda ; types of types of types of types...
;;beancount ; mind the GAAP
(cc +lsp) ; C > C++ == 1
;;(cc +lsp) ; C > C++ == 1
cc ; C > C++ == 1
;;clojure ; java with a lisp
;;common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs

View File

@ -56,3 +56,5 @@
(package! nov)
(package! vlf)
(package! swiper)
(package! exec-path-from-shell)
(package! dap-mode)