mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 05:03:04 +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
|
||||
binding
|
||||
uuid)
|
||||
(if (re-search-forward "^# --\n" nil t)
|
||||
(if (re-search-forward "^# --\\s-*\n" nil t)
|
||||
(progn (setq template
|
||||
(buffer-substring-no-properties (point)
|
||||
(point-max)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user