diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | lua/conform/formatters/verible.lua | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -309,6 +309,7 @@ You can view this list in vim with `:help conform-formatters` - [typstfmt](https://github.com/astrale-sharp/typstfmt) - Basic formatter for the Typst language with a future! - [uncrustify](https://github.com/uncrustify/uncrustify) - A source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and Vala. - [usort](https://github.com/facebook/usort) - Safe, minimal import sorting for Python projects. +- [verible](https://github.com/chipsalliance/verible/blob/master/verilog/tools/formatter/README.md) - The SystemVerilog formatter. - [xmlformat](https://github.com/pamoller/xmlformatter) - xmlformatter is an Open Source Python package, which provides formatting of XML documents. - [xmllint](http://xmlsoft.org/xmllint.html) - Despite the name, xmllint can be used to format XML files as well as lint them. - [yamlfix](https://github.com/lyz-code/yamlfix) - A configurable YAML formatter that keeps comments. diff --git a/lua/conform/formatters/verible.lua b/lua/conform/formatters/verible.lua new file mode 100644 index 0000000..6a58d76 --- /dev/null +++ b/lua/conform/formatters/verible.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/chipsalliance/verible/blob/master/verilog/tools/formatter/README.md", + description = "The SystemVerilog formatter.", + }, + command = "verible-verilog-format", + args = { "--stdin_name", "$FILENAME", "-" }, +} |