summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el
index ca88df7..ccba9dc 100644
--- a/init.el
+++ b/init.el
@@ -147,6 +147,15 @@ no effect."
(load-after-function pdf-view-mode "pdf.el"
"Fake mode that loads the pacakge." nil (pdf-view-mode))
+;;; Prepare for ABNF
+
+(add-to-list 'auto-mode-alist
+ (cons (rx-to-string '(and ".abnf" string-end))
+ #'abnf-mode))
+
+(load-after-function abnf-mode "abnf.el"
+ "Fake mode that loads the ABNF configuration." nil (abnf-mode))
+
;;; Prepare for skeletons
(load-after-function prepare-skeletons "skeleton-conf.el"