breadcrumb
breadcrumb copied to clipboard
Error during redisplay: (eval (breadcrumb--header-line)) signaled (args-out-of-range 0 1)
It seems like something went wrong in breadcrumb--ipath-plain
.
(defun breadcrumb-ipath (index-alist pos)
"Get breadcrumb for position POS given INDEX-ALIST."
(if (get-text-property 0 'breadcrumb-region (caar index-alist))
(breadcrumb--ipath-rich index-alist pos)
- (breadcrumb--ipath-plain index-alist pos)))
+ (ignore-errors (breadcrumb--ipath-plain index-alist pos))))
After ignore-errors
, the error disappear. 🤔
Step to reproduce
- Open the file below in
svelte-mode
then you will see the error:
<section>
<h1>
<span class="welcome">
</span>
</h1>
<Counter />
</section>
Additional Information
The breadcrumb is now empty due to the error. Other (or most) svelte files work fine.