[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shell Mode keywords
From: |
Raffaele Ricciardi |
Subject: |
Shell Mode keywords |
Date: |
Tue, 14 Jul 2015 11:22:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
Shell Mode defines these keywords:
(defvar shell-font-lock-keywords
'(("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-face)
("^[^ \t\n]+:.*" . font-lock-string-face)
("^\\[[1-9][0-9]*\\]" . font-lock-string-face))
"Additional expressions to highlight in Shell mode.")
I infer that the first regexp is meant to match command options.
What is the purpose of the other two regexps?
Thank you.
- Shell Mode keywords,
Raffaele Ricciardi <=