Last active
January 22, 2023 01:43
-
-
Save kzkn/5c80c24d39e5e7b7881d55ad04605c5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-package reformatter) | |
(defun rufo-success-p (retcode) | |
(member retcode '(0 3))) | |
(reformatter-define rufo | |
:program "rufo" | |
:lighter " Rufo" | |
:exit-code-success-p rufo-success-p) | |
;; (add-hook 'ruby-mode-hook 'rufo-on-save-mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment