mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Updated vimrc with json formatting
This commit is contained in:
@@ -91,6 +91,9 @@ augroup MICHAEL
|
|||||||
autocmd Filetype yaml setlocal ts=2 sts=2 sw=2 expandtab
|
autocmd Filetype yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
autocmd Filetype markdown setlocal tw=79 fo+=t
|
autocmd Filetype markdown setlocal tw=79 fo+=t
|
||||||
autocmd Filetype pandoc 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
|
augroup END
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user