mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +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:
parent
1292cd263a
commit
ee81da91d9
@ -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)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user