Commit 3ba328a5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Emacs mode: highlight leads/lags and stoch_simul

parent 4875d6c1
......@@ -33,7 +33,8 @@
;;; Changelog
;; 2010-09-07 by Yannick Kalantzis
;; Minor changes. Add `require'. Add builtin operators `;' and `='.
;; Minor changes. Add `require'. Add builtin operators `;' and `='.
;; Highlight lags and leads.
;; 2010-09-06 by Yannick Kalantzis
;; Created.
;; Reproduces Xah Lee's instructions.
......@@ -62,7 +63,7 @@ For detail, see `comment-dwim'."
"dynare keywords.")
(defvar dynare-functions
'("simul" "steady" "check" "rplot" "dynatype")
'("simul" "stoch_simul" "steady" "check" "rplot" "dynatype" "dynasave")
"dynare functions.")
;; create the regex string for each class of keywords
......@@ -80,6 +81,7 @@ For detail, see `comment-dwim'."
(,dynare-functions-regexp . font-lock-function-name-face)
(,dynare-keywords-regexp . font-lock-keyword-face)
(";\\|=" . font-lock-builtin-face)
("(\\(\\+\\|-\\)[1-9])" . font-lock-constant-face)
))
;; define the major mode
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment