Add JSON formatting command to nvim

This commit is contained in:
don philipe committed 2025-02-17 10:44:08 +01:00
1 parent 550afd3996
commit c9e3b33958
2 files changed
+4

No files matched your search

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