feature/file-templates: update header line in doom templates
This commit is contained in:
parent
540e74a6aa
commit
78fe91ce10
4 changed files with 10 additions and 3 deletions
7
modules/feature/file-templates/autoload.el
Normal file
7
modules/feature/file-templates/autoload.el
Normal file
|
@ -0,0 +1,7 @@
|
|||
;;; feature/file-templates/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +file-templates-get-short-path ()
|
||||
"TODO"
|
||||
(when (string-match "/modules/\\(.+\\)$" buffer-file-truename)
|
||||
(match-string 1 buffer-file-truename)))
|
Loading…
Add table
Add a link
Reference in a new issue