Emacs: Add gemini-mode.

This commit is contained in:
tastytea 2020-05-29 09:42:15 +02:00
parent 6d903c983a
commit e466f9c8cc
1 changed files with 11 additions and 1 deletions

View File

@ -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