- ;;; red-jonprl-mode.el --- Red-Jonprl-Mode major mode
+ ;;; red-jonprl-mode.el --- Red-Jonprl major mode
 
 (defvar red-jonprl-map
   (let ((map (make-sparse-keymap)))

    (,red-jonprl-sorts-regexp . font-lock-type-face)
    (,red-jonprl-tactic-name-regexp . font-lock-function-name-face)))

(define-derived-mode red-jonprl-mode fundamental-mode "red-jonprl"
  :syntax-table red-jonprl-syntax-table
  (setq-local comment-start "// ")

  (setq-local indent-tabs-mode nil)
  (setq-local tab-width 2)
  (setq-local font-lock-defaults '((red-jonprl-font-lock-defaults)))
  (setq-local imenu-generic-expression (red-jonprl-imenu-generic-expression)))

(push '("\\.prl\\'" . red-jonprl-mode) auto-mode-alist)

(provide 'red-jonprl-mode)
 ;;; red-jonprl-mode.el ends here
