4 ms·
Nice idea. It seems pretty easy to understand. Where is the emacs mode?
by deltasquared 14y ago
Nice idea. It seems pretty easy to understand. Where is the emacs mode?
- deltasquared 14y agoWell if anyone wants an emacs mode for this: (require 'generic-x) ;; we need this (define-generic-mode 'critic-mode nil nil '(("{--.--}" . 'font-lock-warning-face) ("{~~.~~}" . 'font-lock-constant-face) ("{{.}}" . 'font-lock-keyword-face) ("{>>.<<}" . 'font-lock-function-name-face) ("{\+\+.*\+\+}" . 'font-lock-type-face) ) nil nil "A mode for foo files" )