Skip to content

Commit

Permalink
tweak(apheleia): make xmllint the default for nxml-mode
Browse files Browse the repository at this point in the history
Signed-off-by: Abdelhak Bougouffa <abougouffa@fedoraproject.org>
  • Loading branch information
abougouffa committed Jan 18, 2024
1 parent c466611 commit eeac59e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@
:custom
(apheleia-remote-algorithm 'local) ; format remote files using local formatters
:init
(+map! "cff" #'apheleia-format-buffer))
(+map! "cff" #'apheleia-format-buffer)
:config
(push '(nxml-mode . xmllint) apheleia-mode-alist))

(use-package editorconfig
:straight t
Expand All @@ -128,8 +130,7 @@
(use-package clang-format
:straight t
:init
(+map! :keymaps '(c-mode-map c++-mode-map c-ts-mode-map c++-ts-mode-map
cuda-mode-map scad-mode-map)
(+map! :keymaps '(c-mode-map c++-mode-map c-ts-mode-map c++-ts-mode-map cuda-mode-map scad-mode-map)
"cfc" #'clang-format-buffer))

(use-package quickrun
Expand Down

0 comments on commit eeac59e

Please sign in to comment.