Better string font lock (catch scaped quotes).
parent
e7ccb46254
commit
aa43297364
|
@ -114,8 +114,7 @@
|
||||||
("^!.*$" . font-lock-comment-face)
|
("^!.*$" . font-lock-comment-face)
|
||||||
(" !.*$" . font-lock-comment-face)
|
(" !.*$" . font-lock-comment-face)
|
||||||
("( .* )" . font-lock-comment-face)
|
("( .* )" . font-lock-comment-face)
|
||||||
("\"[^ ][^\"]*\"" . font-lock-string-face)
|
("\"\\(\\\\\"\\|[^\"]\\)*\"" . font-lock-string-face)
|
||||||
("\"\"" . font-lock-string-face)
|
|
||||||
("\\(P\\|SBUF\\)\"" 1 font-lock-keyword-face)
|
("\\(P\\|SBUF\\)\"" 1 font-lock-keyword-face)
|
||||||
,@(mapcar #'(lambda (w) (cons (concat "\\(^\\| \\)\\(" w "\\)\\($\\| \\)")
|
,@(mapcar #'(lambda (w) (cons (concat "\\(^\\| \\)\\(" w "\\)\\($\\| \\)")
|
||||||
'(2 font-lock-keyword-face)))
|
'(2 font-lock-keyword-face)))
|
||||||
|
|
Loading…
Reference in New Issue