feature/file-templates: fix doom readme template
This commit is contained in:
parent
2dd2ff7ff2
commit
af5261cf6b
1 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
||||||
# -*- mode: snippet -*-
|
# -*- mode: snippet -*-
|
||||||
# name: Doom module readme
|
# name: Doom module readme
|
||||||
# --
|
# --
|
||||||
#+TITLE: ${1:`(progn (string-match "modules/\\([^/]+\\)/\\([^/]+\\)/.+" buffer-file-name)
|
#+TITLE: ${1:`(if (string-match "modules/\\([^/]+\\)/\\([^/]+\\)/.+" buffer-file-name)
|
||||||
(format ":%s %s"
|
(format ":%s %s"
|
||||||
(match-string 1 buffer-file-name)
|
(match-string 1 buffer-file-name)
|
||||||
(match-string 2 buffer-file-name)))`}
|
(match-string 2 buffer-file-name))
|
||||||
|
"")`}
|
||||||
|
|
||||||
${2:A short summary about what this module does.}
|
${2:A short summary about what this module does.}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue