From de325f814143fa1f5804b5dc97221fed46e6467b Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Wed, 18 Mar 2026 19:49:33 +0100 Subject: [PATCH] moved from jq to jaq for json formatting. --- lua/lsp/init.lua | 2 +- module.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua index eb51be0..8197f7d 100644 --- a/lua/lsp/init.lua +++ b/lua/lsp/init.lua @@ -97,7 +97,7 @@ require('lze').load { }) -- need to figure out how to properly seperate this. if nixInfo("settings", "cat", "config") then - require("conform").formatters_by_ft.json = { "jq" } + require("conform").formatters_by_ft.json = { "jaq" } end if nixInfo("settings", "cat", "nix") then require("conform").formatters_by_ft.nix = { "alejandra" } diff --git a/module.nix b/module.nix index ed03fc6..898f3b1 100644 --- a/module.nix +++ b/module.nix @@ -193,7 +193,7 @@ inputs: { data = null; extraPackages = with pkgs; [ taplo - jq + jaq yaml-language-server ]; };