Fix nxml-mode
This commit is contained in:
parent
ed2ef445f1
commit
7638c36ec3
11
init.el
11
init.el
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user