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