From 6e9675a8ecd536730e6f0f6ae4835c6fbd7ece80 Mon Sep 17 00:00:00 2001 From: exu Date: Fri, 24 Nov 2023 16:29:50 +0100 Subject: [PATCH] Update doom config --- arch-config/.config/doom/config.el | 4 ++++ arch-config/.config/doom/init.el | 30 +++++++++++++++--------------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/arch-config/.config/doom/config.el b/arch-config/.config/doom/config.el index 81f47509..9ddd239c 100644 --- a/arch-config/.config/doom/config.el +++ b/arch-config/.config/doom/config.el @@ -99,3 +99,7 @@ (add-hook! 'python-mode-hook 'auto-virtualenv-set-virtualenv) (add-hook! 'projectile-after-switch-project-hook 'auto-virtualenv-set-virtualenv) ;; If using projectile ) + +;; python debugging +(after! dap-mode + (setq dap-python-debugger 'debugpy)) diff --git a/arch-config/.config/doom/init.el b/arch-config/.config/doom/init.el index 0ea239a6..1b1888a7 100644 --- a/arch-config/.config/doom/init.el +++ b/arch-config/.config/doom/init.el @@ -29,13 +29,13 @@ ;;deft ; notational velocity for Emacs doom ; what makes DOOM look the way it does doom-dashboard ; a nifty splash screen for Emacs - ;doom-quit ; DOOM quit-message prompts when you quit Emacs - ;(emoji +unicode) ; 🙂 + ;;doom-quit ; DOOM quit-message prompts when you quit Emacs + ;;(emoji +unicode) ; 🙂 ;;fill-column ; a `fill-column' indicator hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW/OHGODTHEHORROR ;;hydra indent-guides ; highlighted indent columns - ligatures ; ligatures and symbols to make your code pretty again + ;;ligatures ; ligatures and symbols to make your code pretty again minimap ; show a map of the code on the side modeline ; snazzy, Atom-inspired modeline, plus API ;;nav-flash ; blink cursor line after big motions @@ -53,8 +53,8 @@ :editor (evil +everywhere); come to the dark side, we have cookies - file-templates ; auto-snippets for empty files - fold ; (nigh) universal code folding + ;;file-templates ; auto-snippets for empty files + ;;fold ; (nigh) universal code folding (format +onsave) ; automated prettiness ;;god ; run Emacs commands without modifier keys ;;lispy ; vim for lisp, for people who don't like vim @@ -62,7 +62,7 @@ ;;objed ; text object editing for the innocent ;;parinfer ; turn lisp into python, sort of ;;rotate-text ; cycle region at point between text candidates - snippets ; my elves. They type so I don't have to + ;;snippets ; my elves. They type so I don't have to word-wrap ; soft wrapping with language-aware indent :emacs @@ -81,19 +81,19 @@ :checkers syntax ; tasing you for every semicolon you forget ;;(spell +flyspell) ; tasing you for misspelling mispelling - ;;grammar ; tasing grammar mistake every you make + grammar ; tasing grammar mistake every you make :tools ansible - 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 + (docker +lsp) + editorconfig ; let someone else argue about tabs vs spaces ;;ein ; tame Jupyter notebooks with emacs - (eval +overlay) ; run code, run (also, repls) + ;;(eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists - ;;lookup ; navigate your code and its documentation - lsp + lookup ; navigate your code and its documentation + (lsp +peek) magit ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds @@ -115,7 +115,7 @@ ;;clojure ; java with a lisp ;;common-lisp ; if you've seen one lisp, you've seen them all ;;coq ; proofs-as-programs - ;(crystal +lsp) ; ruby at the speed of c + ;(crystal +lsp) ; ruby at the speed of c ;;csharp ; unity, .NET, and mono shenanigans ;;data ; config/data formats ;;(dart +flutter) ; paint ui and not much else @@ -142,7 +142,7 @@ ;;factor ;;ledger ; an accounting system in Emacs ;;lua ; one-based indices? one-based indices - (markdown +grip) ; writing docs for people to ignore + markdown ; writing docs for people to ignore nim ; python + lisp at the speed of c nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel