Skip to content

Commit

Permalink
Adjust `ess-r-font-lock-syntactic-face-function' so that it supports …
Browse files Browse the repository at this point in the history
…R function shorthand notation. Allows e.g. backquoted function names to be font-locked.
  • Loading branch information
Maxime Pettinger committed Mar 25, 2024
1 parent 07069e3 commit 5c24a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/ess-r-mode.el
Expand Up @@ -372,7 +372,7 @@ namespace.")
(ess-goto-char string-end)
(ess-looking-at "<-")
(ess-goto-char (match-end 0))
(ess-looking-at "function\\b" t)))
(ess-looking-at "function\\b\\|\\\\" t)))
font-lock-function-name-face)
((save-excursion
(and (cdr (assq 'ess-fl-keyword:fun-calls ess-R-font-lock-keywords))
Expand Down

0 comments on commit 5c24a72

Please sign in to comment.