diff --git a/init.d/text/misc.el b/init.d/text/misc.el index 9784157..186eeb5 100644 --- a/init.d/text/misc.el +++ b/init.d/text/misc.el @@ -1,6 +1,6 @@ ;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-05-26T02:00:55+0200> +;; Time-stamp: <2020-05-28T09:33:26+0200> ;;; Commentary: @@ -168,5 +168,15 @@ (ansi-color-apply-on-region (point-min) (point-max)))) :mode ("\\.log$" . my/display-ansi-colors)) +;; Syntax-highlighting mode for text/gemini. +(use-package gemini-mode + :straight (gemini-mode + :type git + :repo "https://git.carcosa.net/jmcbray/gemini.el.git") + :mode (("\\.gmi\\'" . gemini-mode) + ("\\.gemini\\'" . gemini-mode) + ("\\.geminimap\\'" . gemini-mode)) + :hook (gemini-mode . (lambda() (auto-fill-mode -1)))) + (provide 'text/misc) ;;; misc.el ends here