From 78b825745b18638651c3279edf2ba55f025ea4a0 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 23 Oct 2023 20:26:40 +0200 Subject: nvim: Use ‘jq’ to format JSON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/after/ftplugin/json.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 .config/nvim/after/ftplugin/json.lua (limited to '.config/nvim') diff --git a/.config/nvim/after/ftplugin/json.lua b/.config/nvim/after/ftplugin/json.lua new file mode 100644 index 0000000..1e6245d --- /dev/null +++ b/.config/nvim/after/ftplugin/json.lua @@ -0,0 +1 @@ +vim.bo.formatprg = 'jq --tab' -- cgit v1.2.3