Fix nxml-mode

This commit is contained in:
Alexander Rosenberg 2023-10-20 14:21:20 -07:00
parent ed2ef445f1
commit 7638c36ec3
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

11
init.el
View File

@ -534,6 +534,17 @@ COMMAND and COMINT are like `compile'."
(when (not my/project-run-command) (when (not my/project-run-command)
(setq my/project-run-command command))))) (setq my/project-run-command command)))))
;; nxml
(use-package nxml-mode
:ensure nil
:hook (nxml-mode . my/-nxml-setup)
:init
(defun my/-nxml-setup ()
"Setup `nxml-mode'."
(sgml-electric-tag-pair-mode 1)
(setq-local completion-at-point-functions
'(rng-completion-at-point cape-file))))
;; rust ;; rust
(use-package rust-mode) (use-package rust-mode)