Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Created September 8, 2014 08:55
Show Gist options
  • Save rummelonp/b2d14a4ff9cfd6a958ff to your computer and use it in GitHub Desktop.
Save rummelonp/b2d14a4ff9cfd6a958ff to your computer and use it in GitHub Desktop.
rinari.el で before_action とかをハイライトするやつ
;; これを (require 'rinari) の下あたりにコペピ
(setq rinari-controller-keywords
(append rinari-controller-keywords
'("before_action" "append_before_action" "prepend_before_action"
"after_action" "append_after_action" "prepend_after_action"
"around_action" "append_around_action" "prepend_around_action"
"skip_before_action" "skip_after_action" "skip_around_action")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment