commit 57e3faab5687b6493f3fef6141bf6e46ba3c37f7
parent cfed349db16f04bf4215fc3a8eac6ca19676c568
Author: Lou Woell <lou.woell@posteo.de>
Date:   Sun, 14 Sep 2025 00:22:48 +0200

[haredoc.el] ignore trailing ::

this should be handeled by harehelper in the future

Diffstat:
Mharedoc.el | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/haredoc.el b/haredoc.el @@ -116,7 +116,8 @@ "Run haredoc with the current word under the cursor and display the results in a new buffer." (interactive) - (let* ((current-word (or sign (haredoc/read-module))) + (let* ((current-word (string-trim-right (or sign (haredoc/read-module)) + "::")) (components (string-split current-word "::" t)) (cmps (length components)) (location (haredoc/get-location current-word))