mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feature/file-templates: fix doom readme template
This commit is contained in:
@ -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.}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user