diff --git a/README.md b/README.md index 4722e738..355438b1 100644 --- a/README.md +++ b/README.md @@ -335,6 +335,7 @@ You can view this list in vim with `:help conform-formatters` - [styler](https://github.com/devOpifex/r.nvim) - R formatter and linter. - [stylish-haskell](https://github.com/haskell/stylish-haskell) - Haskell code prettifier. - [stylua](https://github.com/JohnnyMorganz/StyLua) - An opinionated code formatter for Lua. +- [superhtml](https://github.com/kristoff-it/superhtml) - HTML Language Server and Templating Language Library - [swift_format](https://github.com/apple/swift-format) - Swift formatter from apple. Requires building from source with `swift build`. - [swiftformat](https://github.com/nicklockwood/SwiftFormat) - SwiftFormat is a code library and command-line tool for reformatting `swift` code on macOS or Linux. - [swiftlint](https://github.com/realm/SwiftLint) - A tool to enforce Swift style and conventions. @@ -361,6 +362,7 @@ You can view this list in vim with `:help conform-formatters` - [yew-fmt](https://github.com/schvv31n/yew-fmt) - Code formatter for the Yew framework. - [yq](https://github.com/mikefarah/yq) - YAML/JSON processor - [zigfmt](https://github.com/ziglang/zig) - Reformat Zig source into canonical form. +- [ziggy](https://github.com/kristoff-it/ziggy) - A data serialization language for expressing clear API messages, config files, etc. - [zprint](https://github.com/kkinnear/zprint) - Formatter for Clojure and EDN. diff --git a/doc/conform.txt b/doc/conform.txt index 105b3b7c..9d964a25 100644 --- a/doc/conform.txt +++ b/doc/conform.txt @@ -461,6 +461,7 @@ FORMATTERS *conform-formatter `styler` - R formatter and linter. `stylish-haskell` - Haskell code prettifier. `stylua` - An opinionated code formatter for Lua. +`superhtml` - HTML Language Server and Templating Language Library `swift_format` - Swift formatter from apple. Requires building from source with `swift build`. `swiftformat` - SwiftFormat is a code library and command-line tool for @@ -496,6 +497,7 @@ FORMATTERS *conform-formatter `yew-fmt` - Code formatter for the Yew framework. `yq` - YAML/JSON processor `zigfmt` - Reformat Zig source into canonical form. +`ziggy` - A data serialization language for expressing clear API messages, config files, etc. `zprint` - Formatter for Clojure and EDN. ================================================================================ diff --git a/lua/conform/formatters/superhtml.lua b/lua/conform/formatters/superhtml.lua new file mode 100644 index 00000000..d4e8df12 --- /dev/null +++ b/lua/conform/formatters/superhtml.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/kristoff-it/superhtml", + description = "HTML Language Server and Templating Language Library.", + }, + command = "superhtml", + args = { "fmt", "--stdin" }, +} diff --git a/lua/conform/formatters/ziggy.lua b/lua/conform/formatters/ziggy.lua new file mode 100644 index 00000000..43f2727c --- /dev/null +++ b/lua/conform/formatters/ziggy.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/kristoff-it/ziggy", + description = "A data serialization language for expressing clear API messages, config files, etc.", + }, + command = "ziggy", + args = { "fmt", "--stdin" }, +} diff --git a/lua/conform/formatters/ziggy_schema.lua b/lua/conform/formatters/ziggy_schema.lua new file mode 100644 index 00000000..f31407fd --- /dev/null +++ b/lua/conform/formatters/ziggy_schema.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/kristoff-it/ziggy", + description = "A data serialization language for expressing clear API messages, config files, etc.", + }, + command = "ziggy", + args = { "fmt", "--stdin-schema" }, +}