fix(data): remove executable-find formatter check

This commit is contained in:
Ellis Kenyő 2022-11-17 17:32:59 +00:00 committed by Ellis Kenyo
parent a5756f1e19
commit 9c2d0b00d7
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02

View file

@ -9,8 +9,7 @@
nxml-auto-insert-xml-declaration-flag t) nxml-auto-insert-xml-declaration-flag t)
(set-company-backend! 'nxml-mode '(company-nxml company-yasnippet)) (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)))
(set-formatter! 'xmllint '("xmllint" "--format" "-") :modes '(nxml-mode))))
;;;###package csv-mode ;;;###package csv-mode