Skip to content

Commit

Permalink
feat: add goimports-reviser (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcaashish authored Oct 15, 2023
1 parent ea44a6f commit 3fcebb0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/conform/formatters/goimports-reviser.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/incu6us/goimports-reviser",
description = "Right imports sorting & code formatting tool (goimports alternative).",
},
command = "goimports-reviser",
args = { "-format", "$FILENAME" },
stdin = false,
}

0 comments on commit 3fcebb0

Please sign in to comment.