This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Copyright (C) 2018, 2019 Andreas Fuchs <asf@boinkor.net> | |
;;; Made available to you under the terms of GPLv2 or later: https://choosealicense.com/licenses/gpl-2.0/ | |
(use-package edit-indirect | |
:straight t) | |
(defconst asf--rustdoc-line-prefixes (concat "^\\([\t ]*" (regexp-opt '("///" "//!")) "\\)")) | |
(defun asf--rustdoc-current-comment-block-region () | |
(save-excursion |