Updated vimrc with json formatting

This commit is contained in:
2023-02-28 21:14:40 -05:00
parent 9cfe3e33a1
commit 9966d8cc98

View File

@@ -91,6 +91,9 @@ augroup MICHAEL
autocmd Filetype yaml setlocal ts=2 sts=2 sw=2 expandtab
autocmd Filetype markdown setlocal tw=79 fo+=t
autocmd Filetype pandoc setlocal tw=79 fo+=t
" format json when writing a buffer.
autocmd BufWritePre *.json :silent %!jq
augroup END