diff options
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ vnoremap <leader>p "_dP " remove whitespaces autocmd BufWritePre * :%s/\s\+$//e +" format json files +autocmd BufWritePre *.json :%!jq + " augroup fmtphp " autocmd! " autocmd BufWritePre filetype php undojoin | lua vim.lsp.buf.formatting() |