aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorYorick Peterse <yorick@yorickpeterse.com>2024-03-28 04:21:03 +0100
committerGitHub <noreply@github.com>2024-03-27 20:21:03 -0700
commit68740871bd1b7aecc3759136d576ecb704c4a636 (patch)
treea27fe47cda291122aca55c74f8a2d0a6fad2b5ea /lua
parentac4a022c9e10e9697235f657f166372326139e8b (diff)
feat: add formatter for Inko (#351)
This adds support for formatting Inko (https://inko-lang.org/) source files using the `inko fmt` command.
Diffstat (limited to 'lua')
-rw-r--r--lua/conform/formatters/inko.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/inko.lua b/lua/conform/formatters/inko.lua
new file mode 100644
index 0000000..4c501d0
--- /dev/null
+++ b/lua/conform/formatters/inko.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://inko-lang.org/",
+ description = "A language for building concurrent software with confidence",
+ },
+ command = "inko",
+ args = { "fmt", "-" },
+}