mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore: minor cleanup of reformatter lighter strings
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
(reformatter-define golines-format
|
||||
:program "golines"
|
||||
:args '("-t" "4" "-m" "80" "--no-reformat-tags")
|
||||
:lighter "GOLINES"))
|
||||
:lighter " GOLINES"))
|
||||
|
||||
:init
|
||||
(with-eval-after-load "projectile"
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
(reformatter-define buf-format
|
||||
:program "buf"
|
||||
:args `("format" "--path" ,input-file)
|
||||
:lighter " fmt"
|
||||
:stdin nil
|
||||
:input-file (reformatter-temp-file-in-current-directory))
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
(reformatter-define terraform-format
|
||||
:program "terraform"
|
||||
:args '("fmt" "-no-color" "-")
|
||||
:lighter " TF"))
|
||||
:lighter " fmt"))
|
||||
|
||||
(use-package terraform-doc
|
||||
:defer t)
|
||||
|
||||
9
vendor/clang-format/clang-format.el
vendored
9
vendor/clang-format/clang-format.el
vendored
@@ -9,13 +9,6 @@
|
||||
|
||||
(require 'reformatter)
|
||||
|
||||
(reformatter-define clang-format
|
||||
:program "clang-format"
|
||||
:args '("-style=file" "--assume-filename=%s")
|
||||
:lighter " TF")
|
||||
|
||||
(require 'reformatter)
|
||||
|
||||
(defgroup clang-format nil
|
||||
"Format buffers with clang-format."
|
||||
:group 'tools)
|
||||
@@ -78,7 +71,7 @@ As determined by the SortIncludes style flag."
|
||||
(reformatter-define clang-format
|
||||
:program clang-format-executable
|
||||
:args (clang-format--make-args)
|
||||
:lighter "CLFmt"
|
||||
:lighter " fmt"
|
||||
:group 'clang-format)
|
||||
|
||||
(provide 'clang-format)
|
||||
|
||||
Reference in New Issue
Block a user