Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
3ba328a5
Commit
3ba328a5
authored
Sep 13, 2010
by
Sébastien Villemot
Browse files
Emacs mode: highlight leads/lags and stoch_simul
parent
4875d6c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dynare.el
View file @
3ba328a5
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment