Skip to content

Commit 8b02f47

Browse files
authored
feat: add ktlint (nvim-lua#137)
1 parent 7027ebb commit 8b02f47

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lua/conform/formatters/ktlint.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---@type conform.FileFormatterConfig
2+
return {
3+
meta = {
4+
url = "https://ktlint.github.io/",
5+
description = "An anti-bikeshedding Kotlin linter with built-in formatter.",
6+
},
7+
command = "ktlint",
8+
args = { "--format", "--stdin", "--log-level=none" },
9+
}

0 commit comments

Comments
 (0)