Add JSON formatting command to nvim

This commit is contained in:
don philipe
2025-02-17 10:44:08 +01:00
parent 550afd3996
commit c9e3b33958
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
vim.api.nvim_create_user_command('JQ', function()
vim.cmd('%!jq .')
end, {})