]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/c/autos.vim
setlocal is excess in ftplugin
[dotfiles.git] / vim / .vim / ftplugin / c / autos.vim
index 28149447a5e4dce75961ba7bade9a9fc47e50c5e..5b935260e2636887b9b2987ecd0d643dc357ce3a 100644 (file)
@@ -1,4 +1,4 @@
-setlocal equalprg=cfmt.sh
-setlocal commentstring=//\ %s
-command! -buffer Fmt normal mtgg=G'tz.
-abbreviate UCC unsigned char
+set commentstring=//\ %s
+let @e = "ywoassert(\epA!= NULL);\e"
+nmap [cl O// clang-format off<ESC>
+nmap ]cl o// clang-format on<ESC>