aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/command.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/command.vim b/plugin/command.vim
index 5ed7b73..68b11f4 100644
--- a/plugin/command.vim
+++ b/plugin/command.vim
@@ -45,3 +45,6 @@ function! s:md_to_pdf() abort
echoerr "Error running command"
endif
endfunction
+
+" json format
+command! -range JSONFormat <line1>,<line2>!python -m json.tool