feature/file-templates: update header line in doom templates

This commit is contained in:
Henrik Lissner 2018-02-16 02:12:58 -05:00
parent 540e74a6aa
commit 78fe91ce10
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 10 additions and 3 deletions

View 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)))