mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(beancount): relax prefix on virtual lines
Before, virtual includes were only followed if preceded by three semicolons. Only one should do.
This commit is contained in:
@ -12,7 +12,7 @@ will theirs, recursively)."
|
||||
(widen)
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward
|
||||
(concat "^" (unless nested? "\\(?:;;;# \\)?")
|
||||
(concat "^" (unless nested? "\\(?:;+# \\)?")
|
||||
(rx "include" (+ " ") "\"" (group (+ (not "\"")))))
|
||||
nil t)
|
||||
(when-let* ((path (match-string-no-properties 1)))
|
||||
|
Reference in New Issue
Block a user