]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/c/fmt.vim
clang-format is already pretty friendly to Vim
[dotfiles.git] / vim / .vim / ftplugin / c / fmt.vim
index 0c50d9977a56f68c69afd06ced2d6c98b9a1c2f1..3b254835eace6fab890e626c90c2d2e623a43e4c 100644 (file)
@@ -1,2 +1,2 @@
-set equalprg=cfmt.sh
-command! -buffer Fmt normal mtgg=G'tz.
+set equalprg=clang-format
+command! -buffer Fmt call fmt#Do()