X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fftplugin%2Fc%2Fautos.vim;h=d89b689a15f0bac3004a1c0d745cb220bc036f7f;hb=7e69cfc14bce6cecc6a567afd061d234883197dd;hp=3e821d6ada561a6bc6f083f3202dfe8429b61c63;hpb=86192165230c459212b8d4c2811df10eaf860023;p=dotfiles.git diff --git a/vim/.vim/ftplugin/c/autos.vim b/vim/.vim/ftplugin/c/autos.vim index 3e821d6..d89b689 100644 --- a/vim/.vim/ftplugin/c/autos.vim +++ b/vim/.vim/ftplugin/c/autos.vim @@ -1,9 +1,4 @@ setlocal commentstring=//\ %s - -abbreviate UCC unsigned char -abbreviate u8 uint8_t * -abbreviate U8 (uint8_t *) let @e = "ywoassert(pA!= NULL);" - -setlocal equalprg=cfmt.sh -command! -buffer Fmt normal mtgg=G'tz. +nmap [cl O// clang-format off +nmap ]cl o// clang-format on