Open deltasquared opened 11 years ago
Adding and emacs mode like this be cool:
File Edit Options Buffers Tools Emacs-Lisp Help (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 critic markup" )
I'm working on it... :-)
https://github.com/joostkremers/criticmarkup-emacs
Nice! I like your version better!
+1
Adding and emacs mode like this be cool:
File Edit Options Buffers Tools Emacs-Lisp Help
(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 critic markup" )