Skip to content

Commit

Permalink
feat: add dos2unix converter script
Browse files Browse the repository at this point in the history
  • Loading branch information
tanj committed Apr 19, 2024
1 parent 9d5ba06 commit 89d9db2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lua/conform/formatters/dos2unix.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://dos2unix.sourceforge.io/",
description = "Convert from dos line endings to unix line endings",
},
command = "dos2unix",
args = {
"--to-stdout",
},
}

0 comments on commit 89d9db2

Please sign in to comment.