dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit f29c0d8399cb2d900a3991b35f4865ba0cf9ac70
parent da8c5431f794608aea6ac3ef6b4ddb6e8f158c9d
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 26 Jan 2022 12:31:54 +0100

vim: use jq to format json

Diffstat:
Avim/after/ftplugin/json.vim | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/vim/after/ftplugin/json.vim b/vim/after/ftplugin/json.vim @@ -0,0 +1,6 @@ +setlocal formatprg=jq +if exists('b:undo_ftplugin') + let b:undo_ftplugin .= '| set formatprg<' +else + let b:undo_ftplugin = '| set formatprg<' +endif