X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fftplugin%2Fc%2Fautos.vim;h=5f264f3b9fbf66404504381ae0c44028b87c0c75;hb=1280549be01e3ce72d9e0aeef6254a1ff14a25a3;hp=28149447a5e4dce75961ba7bade9a9fc47e50c5e;hpb=bd0fd38671ae3e195b0c47677417394adb75c277;p=dotfiles.git diff --git a/vim/.vim/ftplugin/c/autos.vim b/vim/.vim/ftplugin/c/autos.vim index 2814944..5f264f3 100644 --- a/vim/.vim/ftplugin/c/autos.vim +++ b/vim/.vim/ftplugin/c/autos.vim @@ -1,4 +1,9 @@ -setlocal equalprg=cfmt.sh 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. -abbreviate UCC unsigned char