mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-16 20:10:58 +01:00
23 lines
612 B
EmacsLisp
23 lines
612 B
EmacsLisp
;; *** sgml
|
|
|
|
;; Used for XML and the likes.
|
|
|
|
(setq sgml-set-face t)
|
|
(setq sgml-balanced-tag-edit t)
|
|
(setq sgml-omittag-transparent nil)
|
|
(setq sgml-auto-insert-required-elements t)
|
|
|
|
(setq sgml-markup-faces
|
|
'((start-tag . font-lock-function-name-face)
|
|
(end-tag . font-lock-function-name-face)
|
|
(comment . font-lock-comment-face)
|
|
(pi . font-lock-other-type-face)
|
|
(sgml . font-lock-variable-name-face)
|
|
(doctype . font-lock-type-face)
|
|
(entity . font-lock-string-face)
|
|
(shortref . font-lock-keyword-face)))
|
|
|
|
|
|
(provide 'init-sgml)
|
|
;;; init-sgml.el ends here
|