Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ Supported languages
* **F#** ([*fantomas*](https://github.com/fsprojects/fantomas))
* **Fish Shell** ([*fish_indent*](https://fishshell.com/docs/current/commands.html#fish_indent))
* **Fortran Free Form** ([*fprettify*](https://github.com/pseewald/fprettify))
* **Gleam** ([*gleam format*](https://gleam.run/))
* **GDScript** ([*gdscript-formatter*](https://github.com/GDQuest/GDScript-formatter))
* **GLSL** ([*clang-format*](https://clang.llvm.org/docs/ClangFormat.html))
* **Gleam** ([*gleam format*](https://gleam.run/))
* **Go** ([*gofmt*](https://golang.org/cmd/gofmt/), [*goimports*](https://godoc.org/golang.org/x/tools/cmd/goimports))
* **GraphQL** ([*prettier*](https://prettier.io/), [*prettierd*](https://github.com/fsouza/prettierd))
* **Haskell** ([*brittany*](https://github.com/lspitzner/brittany), [*fourmolu*](https://github.com/fourmolu/fourmolu), [*hindent*](https://github.com/commercialhaskell/hindent), [*ormolu*](https://github.com/tweag/ormolu), [*stylish-haskell*](https://github.com/jaspervdj/stylish-haskell))
Expand Down
11 changes: 10 additions & 1 deletion format-all.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@
;; - F# (fantomas)
;; - Fish Shell (fish_indent)
;; - Fortran Free Form (fprettify)
;; - Gleam (gleam format)
;; - GDScript (gdscript-formatter)
;; - GLSL (clang-format)
;; - Gleam (gleam format)
;; - Go (gofmt, goimports)
;; - GraphQL (prettier, prettierd)
;; - Haskell (brittany, fourmolu, hindent, ormolu, stylish-haskell)
Expand Down Expand Up @@ -155,6 +156,7 @@
("GLSL" clang-format)
("Go" gofmt)
("GraphQL" prettier)
("GDScript" gdscript-formatter)
("Haskell" brittany)
("HCL" hclfmt)
("HLSL" clang-format)
Expand Down Expand Up @@ -970,6 +972,13 @@ Consult the existing formatters for examples of BODY."
(:features)
(:format (format-all--buffer-easy executable "-f" "-" "--pretty-print=-")))

(define-format-all-formatter gdscript-formatter
(:executable "gdscript-formatter")
(:install)
(:languages "GDScript")
(:features)
(:format (format-all--buffer-easy executable)))

(define-format-all-formatter gleam
(:executable "gleam")
(:install (macos "brew install gleam"))
Expand Down