From 5e681be82aeae3fbe1cb4bc4467a4566b7ba8b70 Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Wed, 19 Oct 2022 00:47:47 +0900 Subject: [PATCH] emacs : dap --- .doom.d/config.el | 11 ++++++++++- .doom.d/init.el | 8 ++++---- .doom.d/packages.el | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.doom.d/config.el b/.doom.d/config.el index 667e3fe..81fcf82 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -128,8 +128,17 @@ ;; -------------------------------------------------------------------------------------------- ;; - Language Server Client ;; -------------------------------------------------------------------------------------------- -(use-package! eglot) +;;(use-package! eglot) +;;(dap-register-debug-template "Rust::GDB Run Configuration" +;; (list :type "gdb" +;; :request "launch" +;; :name "GDB::Run" +;; :gdbpath "rust-gdb" +;; :target nil +;; :cwd nil)) +(after! dap-mode + (setq dap-python-debugger 'debugpy)) ;; -------------------------------------------------------------------------------------------- ;; - Org Paste Clipboard image for windows, in linux(use org-screenshot-take) ;; -------------------------------------------------------------------------------------------- diff --git a/.doom.d/init.el b/.doom.d/init.el index 6b3e130..ed5fcbc 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -87,7 +87,7 @@ :tools ;;ansible ;;biblio ; Writes a PhD for you (citation needed) - ;;debugger ; FIXME stepping through code, to help you add bugs + (debugger +lsp) ; FIXME stepping through code, to help you add bugs ;;direnv ;;docker ;;editorconfig ; let someone else argue about tabs vs spaces @@ -95,7 +95,7 @@ (eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists lookup ; navigate your code and its documentation - ;;(lsp +peek) ; M-x vscode + (lsp +peek) ; M-x vscode magit ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds @@ -163,14 +163,14 @@ ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - python ; beautiful is better than ugly + (python +lsp) ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 ;;rest ; Emacs as a REST client ;;rst ; ReST in peace (ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} - rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;(scheme +guile) ; a fully conniving family of lisps sh ; she sells {ba,z,fi}sh shells on the C xor diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 8d34236..9a4f4e8 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -65,4 +65,4 @@ (package! calfw-org) (package! dashboard) (package! page-break-lines) -(package! eglot) +;;(package! eglot)