From ff2fb190c5b4a80df3a70c07425519c43c664319 Mon Sep 17 00:00:00 2001 From: benj Date: Sun, 6 Jan 2019 15:25:13 -0800 Subject: txt mode for README, yas template updates --- init.el | 1 + settings/setup-txt-mode.el | 2 +- templates/auto-insert/template.h | 2 +- templates/auto-insert/template.hh | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 7b72df9..2865ca8 100644 --- a/init.el +++ b/init.el @@ -83,6 +83,7 @@ play-routes-mode projectile projectile-ripgrep + protobuf-mode purescript-mode org-bullets sbt-mode diff --git a/settings/setup-txt-mode.el b/settings/setup-txt-mode.el index 3190138..6715e20 100644 --- a/settings/setup-txt-mode.el +++ b/settings/setup-txt-mode.el @@ -17,7 +17,7 @@ (flyspell-mode t) (setup-margins)) - +(add-to-list 'auto-mode-alist '("README\\'" . text-mode)) (add-hook 'text-mode-hook 'text-configs) (provide 'setup-txt-mode) diff --git a/templates/auto-insert/template.h b/templates/auto-insert/template.h index 0f9cb8e..408e09d 100644 --- a/templates/auto-insert/template.h +++ b/templates/auto-insert/template.h @@ -4,7 +4,7 @@ * * $2 * - * @author MAGIT_USER or SYSTEM_USER + * @author `user-full-name` * @date `(format-time-string "%Y-%m-%d")` */ diff --git a/templates/auto-insert/template.hh b/templates/auto-insert/template.hh index 0f9cb8e..408e09d 100644 --- a/templates/auto-insert/template.hh +++ b/templates/auto-insert/template.hh @@ -4,7 +4,7 @@ * * $2 * - * @author MAGIT_USER or SYSTEM_USER + * @author `user-full-name` * @date `(format-time-string "%Y-%m-%d")` */ -- cgit v1.2.3