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