mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 08:01:35 +09:00
rust dap mode added.
This commit is contained in:
@ -119,6 +119,36 @@
|
|||||||
(use-package! vlf-setup
|
(use-package! vlf-setup
|
||||||
:defer-incrementally vlf-tune vlf-base vlf-write vlf-search vlf-occur vlf-follow vlf-ediff vlf)
|
: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
|
;; Time
|
||||||
(setq display-time-world-list
|
(setq display-time-world-list
|
||||||
'(("Etc/UTC" "UTC")
|
'(("Etc/UTC" "UTC")
|
||||||
|
|||||||
@ -112,7 +112,8 @@
|
|||||||
:lang
|
:lang
|
||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
;;beancount ; mind the GAAP
|
;;beancount ; mind the GAAP
|
||||||
(cc +lsp) ; C > C++ == 1
|
;;(cc +lsp) ; C > C++ == 1
|
||||||
|
cc ; C > C++ == 1
|
||||||
;;clojure ; java with a lisp
|
;;clojure ; java with a lisp
|
||||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
;;common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
|
|||||||
@ -56,3 +56,5 @@
|
|||||||
(package! nov)
|
(package! nov)
|
||||||
(package! vlf)
|
(package! vlf)
|
||||||
(package! swiper)
|
(package! swiper)
|
||||||
|
(package! exec-path-from-shell)
|
||||||
|
(package! dap-mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user