Skip to content

Commit b859482

Browse files
author
ma6174
committed
gg=G to beautiful other files when press F6
1 parent e93674b commit b859482

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.vimrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ func FormartSrc()
217217
exec "!astyle --style=gnu --suffix=none %"
218218
elseif &filetype == 'xml'
219219
exec "!astyle --style=gnu --suffix=none %"
220+
else
221+
exec "normal gg=G"
220222
endif
221223
exec "e! %"
222224
endfunc

0 commit comments

Comments
 (0)