mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(zig): rely on :editor format alone
Otherwise, two formatters are run if :editor format is enabled. Fix: #5817
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
(use-package! zig-mode
|
||||
:hook (zig-mode . rainbow-delimiters-mode)
|
||||
:config
|
||||
(setq zig-format-on-save (featurep! :editor format +onsave))
|
||||
(setq zig-format-on-save nil) ; rely on :editor format instead
|
||||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'zig-mode-local-vars-hook #'lsp!))
|
||||
|
Reference in New Issue
Block a user