matlab.el:

(matlab-function-font-lock-keywords):
Fix bug in last submit so tests pass.
This commit is contained in:
Eric Ludlam 2021-07-11 12:45:08 -04:00
parent 02dd1b50fb
commit 4facc02116
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ This matcher will handle a range of variable features."
(2 font-lock-reference-face))
;; set_param and waitfor have input variables that can be highlighted.
(list (concat matlab-indent-past-arg1-functions "\\s-*")
'("(\\s-*\\(\\(?:\\w\\|.\\)\\)\\s-*\\(,\\|)\\)" nil nil
'("(\\s-*\\(\\(?:\\w\\|\\.\\)+\\)\\s-*\\(,\\|)\\)" nil nil
(1 font-lock-variable-name-face)))
)
"List of font lock keywords for stuff in functions.")