summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin/json.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-23 20:26:40 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-23 20:26:40 +0200
commit78b825745b18638651c3279edf2ba55f025ea4a0 (patch)
tree6d4067c535e98abfc910156b7dc3a7f344134504 /.config/nvim/after/ftplugin/json.lua
parentd12c0be3429d6116998b7707cf947351980e3c0a (diff)
nvim: Use ‘jq’ to format JSON
Diffstat (limited to '.config/nvim/after/ftplugin/json.lua')
-rw-r--r--.config/nvim/after/ftplugin/json.lua1
1 files changed, 1 insertions, 0 deletions
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'