From f22d7e3428691fdbd6927045c33538d43f2a628d Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 30 Apr 2024 20:46:53 +0200 Subject: [PATCH] feat: add taplo Signed-off-by: kjuulh --- dot_config/helix/languages.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/helix/languages.toml b/dot_config/helix/languages.toml index c622d7a..c5e63d4 100644 --- a/dot_config/helix/languages.toml +++ b/dot_config/helix/languages.toml @@ -30,6 +30,10 @@ formatter = { command = "prettier", args = ["--parser=graphql"]} command = "graphql-lsp" args = ["server", "-m", "stream"] +[[language]] +name = "toml" +formatter = { command = "taplo", args = ["fmt", "-"] } + [[grammar]] name = "graphql" source = {git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe"}