Súbor: [Platon] / vimconfig / vim / csyntax.vim (stiahnutie)
Revízia 1.4, Fri Feb 28 02:00:51 2003 UTC (22 years, 2 months ago) by rajo
Zmeny od 1.3: +3 -3
[lines]
Copyright year update.
Email adress update.
|
" File: csyntax.vim
" Maintainer: Lubomir Host 'rajo' <rajo AT platon.sk>
" Last Change: 2003/02/28
" Version: $Platon: vimconfig/vim/csyntax.vim,v 1.3 2003/01/16 12:16:50 rajo Exp $
"
" Description: Source this file while editing C source code
" for better formating.
:silent! execute "%s/} else/}
else/gc"
:silent! execute "%s/\([ ]\+\)if(/\1if (/gc"
:silent! execute "%s/\([ ]\+\)for(/\1for (/gc"
:silent! execute "%s/\([ ]\+\)switch(/\1switch (/gc"
:silent! execute "%s/\([ ]\+\)while(/\1while (/gc"
:silent! execute "%s/[ ]\+$//gc"
:silent! execute "%s/[^ ]==[^ ]/ == /gc"
Platon Group <platon@platon.sk> http://platon.sk/
|