mirror of
https://github.com/luzifer/vim.git
synced 2024-11-08 23:50:01 +00:00
Add command to format JSON files
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0623f11094
commit
2c21b40ad1
1 changed files with 6 additions and 0 deletions
6
vimrc
6
vimrc
|
@ -1007,3 +1007,9 @@ let g:go_autodetect_gopath = 0
|
|||
"
|
||||
|
||||
au BufWritePre *.py,*.js :Autoformat
|
||||
|
||||
"
|
||||
" Custom commands
|
||||
"
|
||||
|
||||
command -range=% JF :<line1>,<line2>!jq .
|
||||
|
|
Loading…
Reference in a new issue