mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 06:32:24 +00:00
Allow "# --" end-of-header marker to have trailing space
* yasnippet.el (yas--parse-template): Allow trailing space after "# --" marker.
This commit is contained in:
@@ -1493,7 +1493,7 @@ Here's a list of currently recognized directives:
|
|||||||
expand-env
|
expand-env
|
||||||
binding
|
binding
|
||||||
uuid)
|
uuid)
|
||||||
(if (re-search-forward "^# --\n" nil t)
|
(if (re-search-forward "^# --\\s-*\n" nil t)
|
||||||
(progn (setq template
|
(progn (setq template
|
||||||
(buffer-substring-no-properties (point)
|
(buffer-substring-no-properties (point)
|
||||||
(point-max)))
|
(point-max)))
|
||||||
|
|||||||
Reference in New Issue
Block a user