]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/c/autos.vim
Move to vim9script
[dotfiles.git] / vim / .vim / ftplugin / c / autos.vim
index b0f7c2d6b407578da08a84cbb75950d223836402..6a804dbb74b43726e404126ec7a28c1904666d41 100644 (file)
@@ -1,3 +1,3 @@
-setlocal equalprg=clang-format60
-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>