On Sun, Nov 18, 2001 at 05:24:22PM +0200, Shaul Karl wrote:
| Is there a way to have vim force a standard and consistent style? Once
:help autoindent
:help smartindent
:help cindent
In my .vimrc I have :
augroup Cpp
au!
au FileType cpp set ai si cin sts=4 sw=4 et tw=80 fo=croqn2
uot; '(require 'choose-color))
(add-hook 'c-mode-hook 'turn-on-font-lock 'at-end)
(add-hook 'c++-mode-hook 'turn-on-font-lock 'at-end)
indent-run.FNAME.emacs ----
(find-file "FNAME")
(mark-whole-buffer)
(ind
On Sun, 18 Nov 2001 17:24:22 +0200, you wrote:
>Can anyone recommend a program to indent and format C++ program sources
>for consistency of style and perhaps better readability?
>Specifying the used options or attaching a suitable configuration file
>(like a .ident.pro for GNU indent) is desirab
>
> On 18-Nov-2001 Shaul Karl wrote:
> > Can anyone recommend a program to indent and format C++ program sources
> > for consistency of style and perhaps better readability?
> > Specifying the used options or attaching a suitable configuration file
> > (like a .ident.pro for GNU indent) is desir
On 18-Nov-2001 Shaul Karl wrote:
> Can anyone recommend a program to indent and format C++ program sources
> for consistency of style and perhaps better readability?
> Specifying the used options or attaching a suitable configuration file
> (like a .ident.pro for GNU indent) is desirable.
>
> G
5 matches
Mail list logo