Function: sh-font-lock-keywords
sh-font-lock-keywords is a byte-compiled function defined in
sh-script.el.gz.
Signature
(sh-font-lock-keywords &optional KEYWORDS)
Documentation
Function to get simple fontification based on sh-font-lock-keywords.
This adds rules for comments and assignments.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defun sh-font-lock-keywords (&optional keywords)
"Function to get simple fontification based on `sh-font-lock-keywords'.
This adds rules for comments and assignments."
(sh-feature sh-font-lock-keywords-var
(when (stringp (sh-feature sh-assignment-regexp))
(lambda (list)
`((,(sh-feature sh-assignment-regexp)
1 font-lock-variable-name-face)
,@keywords
,@list
,@executable-font-lock-keywords)))))