]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/c/autos.vim
ptrdiff_t abbreviation
[dotfiles.git] / vim / .vim / ftplugin / c / autos.vim
index 1eb3aaed71ea2ef8f7221471f0bd0c6846f02390..6a804dbb74b43726e404126ec7a28c1904666d41 100644 (file)
@@ -1,3 +1,3 @@
-setlocal equalprg=cfmt.sh
-setlocal commentstring=//\ %s
-command! -buffer Fmt normal mtgg=G'tz.
+let @e = "ywoassert(\epA!= NULL);\e"
+nmap [cl O// clang-format off<ESC>
+nmap ]cl o// clang-format on<ESC>