]> 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 9ba8e06ea827d79ab1acc6660061f73b495f2bcc..5b935260e2636887b9b2987ecd0d643dc357ce3a 100644 (file)
@@ -1,7 +1,4 @@
-setlocal commentstring=//\ %s
-
-abbreviate UCC unsigned char
+set commentstring=//\ %s
 let @e = "ywoassert(\epA!= NULL);\e"
-
-setlocal equalprg=cfmt.sh
-command! -buffer Fmt normal mtgg=G'tz.
+nmap [cl O// clang-format off<ESC>
+nmap ]cl o// clang-format on<ESC>