feat(format): add :lang data formatter
This commit is contained in:
parent
53fe5df6b5
commit
f80f52ba4f
2 changed files with 8 additions and 1 deletions
|
@ -8,7 +8,9 @@
|
|||
(setq nxml-slash-auto-complete-flag t
|
||||
nxml-auto-insert-xml-declaration-flag t)
|
||||
(set-company-backend! 'nxml-mode '(company-nxml company-yasnippet))
|
||||
(setq-hook! 'nxml-mode-hook tab-width nxml-child-indent))
|
||||
(setq-hook! 'nxml-mode-hook tab-width nxml-child-indent)
|
||||
(when (executable-find "xmllint")
|
||||
(set-formatter! 'xmllint '("xmllint" "--format" "-") :modes '(nxml-mode))))
|
||||
|
||||
|
||||
;;;###package csv-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue