Skip to content

Commit

Permalink
master: [feature] change
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyangze committed Dec 25, 2022
1 parent 15137c3 commit 320f541
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layers/common/tool-functions.vim
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ function! AutoFormatFile()
let l:filetype = &filetype
if l:filetype == "php"
silent! exec "Format"
elseif l:filetype == "java"
silent! exec "Format"
else
silent! exec "Autoformat"
endif
Expand Down

0 comments on commit 320f541

Please sign in to comment.