diff options
| author | benj <benj@rse8.com> | 2019-01-06 15:25:13 -0800 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2019-01-06 15:29:08 -0800 |
| commit | ff2fb190c5b4a80df3a70c07425519c43c664319 (patch) | |
| tree | 211a5bbbb8cb9d51a5c5f27a7b6337573978145c | |
| parent | 6b1c423c2b2d7330a187ed4de5f0f28a8f11fdbb (diff) | |
| download | emacs-ff2fb190c5b4a80df3a70c07425519c43c664319.tar emacs-ff2fb190c5b4a80df3a70c07425519c43c664319.tar.gz emacs-ff2fb190c5b4a80df3a70c07425519c43c664319.tar.bz2 emacs-ff2fb190c5b4a80df3a70c07425519c43c664319.tar.lz emacs-ff2fb190c5b4a80df3a70c07425519c43c664319.tar.xz emacs-ff2fb190c5b4a80df3a70c07425519c43c664319.tar.zst emacs-ff2fb190c5b4a80df3a70c07425519c43c664319.zip | |
txt mode for README, yas template updates
| -rw-r--r-- | init.el | 1 | ||||
| -rw-r--r-- | settings/setup-txt-mode.el | 2 | ||||
| -rw-r--r-- | templates/auto-insert/template.h | 2 | ||||
| -rw-r--r-- | templates/auto-insert/template.hh | 2 |
4 files changed, 4 insertions, 3 deletions
@@ -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")` */ |
