diff --git a/configs/.vimrc b/configs/.vimrc index 55f73e571..fc5b31859 100644 --- a/configs/.vimrc +++ b/configs/.vimrc @@ -391,7 +391,7 @@ vnoremap L $ " trim trailing whitespace on save -autocmd BufWritePre *.{js,py,tpl,html} :%s/\s\+$//e +autocmd BufWritePre *.{js,py,tpl,less,html} :%s/\s\+$//e " set default font and size