feature/file-templates: fix doom readme template

This commit is contained in:
Henrik Lissner 2018-02-20 02:45:57 -05:00
parent 2dd2ff7ff2
commit af5261cf6b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,10 +1,11 @@
# -*- mode: snippet -*-
# name: Doom module readme
# --
#+TITLE: ${1:`(progn (string-match "modules/\\([^/]+\\)/\\([^/]+\\)/.+" buffer-file-name)
(format ":%s %s"
(match-string 1 buffer-file-name)
(match-string 2 buffer-file-name)))`}
#+TITLE: ${1:`(if (string-match "modules/\\([^/]+\\)/\\([^/]+\\)/.+" buffer-file-name)
(format ":%s %s"
(match-string 1 buffer-file-name)
(match-string 2 buffer-file-name))
"")`}
${2:A short summary about what this module does.}