diff --git a/scripts/dynare.el b/scripts/dynare.el
index c3fe64a61bfefd8ba10bd8fc18c300207c93de41..d2a9bbfa83a16dd2288500cc0e39628ea542a1f0 100644
--- a/scripts/dynare.el
+++ b/scripts/dynare.el
@@ -1,7 +1,7 @@
 ;;; dynare.el --- major mode for editing Dynare mod files
 
 ;; Copyright © 2010 Yannick Kalantzis
-;; Copyright © 2019-2021 Dynare Team
+;; Copyright © 2019-2022 Dynare Team
 ;;
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -79,7 +79,7 @@
     "smoother2histval" "perfect_foresight_setup" "perfect_foresight_solver"
     "perfect_foresight_with_expectation_errors_setup"
     "perfect_foresight_with_expectation_errors_solver"
-    "compilation_setup" "model_remove" "model_options" "var_remove"
+    "compilation_setup" "model_remove" "model_options" "var_remove" "resid"
     "std" "corr" "prior_function" "posterior_function" "end")
   "Dynare statement keywords.")