diff options
| author | jdhao <jdhao@hotmail.com> | 2023-06-13 22:24:31 +0200 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2023-06-13 22:25:25 +0200 |
| commit | ee38046ebc83b5dc91739a9c2a8d60cd9725e206 (patch) | |
| tree | 47758bfe7c4b3b09063b18283bba2f136489bffc /plugin/command.vim | |
| parent | 6c873a32da5410b6accbe8da476e334e2918901f (diff) | |
Add folding support for JSON files
Diffstat (limited to 'plugin/command.vim')
| -rw-r--r-- | plugin/command.vim | 3 |
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 |
