emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dape 926dd1d535 09/10: Add margin breakpoint custom


From: ELPA Syncer
Subject: [elpa] externals/dape 926dd1d535 09/10: Add margin breakpoint custom
Date: Sun, 14 Jan 2024 18:57:42 -0500 (EST)

branch: externals/dape
commit 926dd1d535d17b7bc2083c069d76263dfd4d02ea
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>

    Add margin breakpoint custom
---
 dape.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index 609229d830..c06672c15c 100644
--- a/dape.el
+++ b/dape.el
@@ -476,6 +476,10 @@ left-to-right display order of the properties."
   "Max length of file name in dape info buffers."
   :type 'integer)
 
+(defcustom dape-breakpoint-margin-string "B"
+  "String to display breakpoint in margin."
+  :type 'string)
+
 (defcustom dape-repl-use-shorthand t
   "Dape `dape-repl-commands' can be invokend with first char of command."
   :type 'boolean)
@@ -2227,7 +2231,7 @@ If EXPRESSION place conditional breakpoint."
                                               'face 'dape-expression-face))))
      (t
       (dape--overlay-icon breakpoint
-                          "●"
+                          dape-breakpoint-margin-string
                           'large-circle
                           'dape-breakpoint-face)))
     (overlay-put breakpoint 'modification-hooks '(dape--breakpoint-freeze))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]