1 setlocal commentstring=//\ %s
3 abbreviate <buffer> UCC unsigned char
4 abbreviate <buffer> u8 uint8_t *
5 abbreviate <buffer> U8 (uint8_t *)
6 let @e = "ywoassert(
\epA!= NULL);
\e"
7 nmap [cl O// clang-format off<ESC>
8 nmap ]cl o// clang-format on<ESC>
10 setlocal equalprg=cfmt.sh
11 command! -buffer Fmt normal mtgg=G'tz.