chore: minor cleanup of reformatter lighter strings

This commit is contained in:
2022-07-30 22:01:26 +01:00
parent 646876f1cd
commit 1883ba6972
4 changed files with 4 additions and 10 deletions

View File

@@ -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"

View File

@@ -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))

View File

@@ -29,7 +29,7 @@
(reformatter-define terraform-format
:program "terraform"
:args '("fmt" "-no-color" "-")
:lighter " TF"))
:lighter " fmt"))
(use-package terraform-doc
:defer t)

View File

@@ -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)