diff options
author | JSDurand <mmemmew@gmail.com> | 2022-06-30 20:13:39 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-06-30 20:13:39 +0800 |
commit | e085df96d2a0ad8074c5561a1fa751ba5e4ecad3 (patch) | |
tree | 2da49a83207fc44bbf395ec7193c0d3673a62475 | |
parent | af5f6c3924d66104e5425220c23e51cdda9e7311 (diff) |
Add primitive ABNF support
-rw-r--r-- | abnf.el | 1 | ||||
-rw-r--r-- | init.el | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -0,0 +1 @@ +(use-package "abnf-mode" 'abnf-mode) @@ -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" |