I use this config to automatically remove trailing spaces in my yaml files:
autocmd BufWritePre *.c,*.php :%s/\s\+$//ge
#ansible #vim #terraform
I use this config to automatically remove trailing spaces in my yaml files:
autocmd BufWritePre *.c,*.php :%s/\s\+$//ge
#ansible #vim #terraform