From 2bff989d39cac5644739be8e39728fc3a9215edd Mon Sep 17 00:00:00 2001 From: Benjamin Chaussé Date: Tue, 30 Jul 2024 10:18:46 -0400 Subject: auto-format graphql with prettierd --- lua/plugins/lsp.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 9f6075c..3ffacc5 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -216,6 +216,7 @@ return { php = { "pretty-php" }, go = { "gofumpt", "gci", "goimports" }, yaml = { "yamlfix" }, + graphql = { "prettierd" }, }, -- Set up format-on-save format_on_save = { timeout_ms = 500, lsp_format = "fallback" }, -- cgit v1.2.3