diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index b269c8e..00bf748 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -146,7 +146,6 @@ nnoremap nnoremap nnoremap nnoremap -nnoremap :%!jq '.' nmap gn (GitGutterNextHunk) " git next nmap gp (GitGutterPrevHunk) " git previous nmap ga (GitGutterStageHunk) " git add (chunk) @@ -154,5 +153,6 @@ nmap gu (GitGutterUndoHunk) " git undo (chunk) "AutoCommands au BufWinEnter * set number +au FileType json setlocal equalprg=jq\ . au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\ 2>/dev/null autocmd FileType python setlocal completeopt-=preview