792 |
|
|
793 |
;; Font-Lock support |
;; Font-Lock support |
794 |
|
|
795 |
(defface sh-heredoc-face |
(defface sh-heredoc |
796 |
'((((min-colors 88) (class color) |
'((((min-colors 88) (class color) |
797 |
(background dark)) |
(background dark)) |
798 |
(:foreground "yellow1" :weight bold)) |
(:foreground "yellow1" :weight bold)) |
806 |
(:weight bold))) |
(:weight bold))) |
807 |
"Face to show a here-document" |
"Face to show a here-document" |
808 |
:group 'sh-indentation) |
:group 'sh-indentation) |
809 |
(defvar sh-heredoc-face 'sh-heredoc-face) |
;; backward-compatibility alias |
810 |
|
(put 'sh-heredoc-face 'face-alias 'sh-heredoc) |
811 |
|
(defvar sh-heredoc-face 'sh-heredoc) |
812 |
|
|
813 |
(defface sh-escaped-newline '((t :inherit font-lock-string-face)) |
(defface sh-escaped-newline '((t :inherit font-lock-string-face)) |
814 |
"Face used for (non-escaped) backslash at end of a line in Shell-script mode." |
"Face used for (non-escaped) backslash at end of a line in Shell-script mode." |