Use clang-format for objc-mode in apheleia
This commit is contained in:
parent
3091331107
commit
8089cc8f1b
@ -1085,6 +1085,7 @@
|
|||||||
:config
|
:config
|
||||||
(setf (alist-get 'djlint apheleia-formatters) '("djlint" "--reformat" "-"))
|
(setf (alist-get 'djlint apheleia-formatters) '("djlint" "--reformat" "-"))
|
||||||
(setf (alist-get "\\.dj\\.html$" apheleia-mode-alist) '(djlint))
|
(setf (alist-get "\\.dj\\.html$" apheleia-mode-alist) '(djlint))
|
||||||
|
(setf (alist-get 'objc-mode apheleia-mode-alist) 'clang-format)
|
||||||
|
|
||||||
(defun apheleia--pyproject-contains-section (section)
|
(defun apheleia--pyproject-contains-section (section)
|
||||||
(when-let (parent (locate-dominating-file default-directory "pyproject.toml"))
|
(when-let (parent (locate-dominating-file default-directory "pyproject.toml"))
|
||||||
|
Loading…
Reference in New Issue
Block a user