Christian Brabandt wrote:
> >> Indeed, it looks strange. Especially, since left shifts are allowed, but
> >> once you reach column 1, you can't right shift anymore. Also note, that
> >> despite Vim's inability to right shift defines, the file will still be
> >> marked modified.
> >>
> >> Here is a simple patch, allowing the user to right shift #defines.
> >
> > Allowing white space before the # is later addition, older C compilers
> > do not allow it. My K&R does not mention it. And because of that it
> > has been a convention to keep the # in the first column and put any
> > indent after it.
> >
> > For portability and readability I would encourage keeping the # in the
> > first column. Allowing to put it elsewhere should be an option that is
> > off by default.
>
> An addition to cinkeys? Or a separate option?
'cinoptions' is for 'cindent' options.
--
We're knights of the Round Table
Our shows are formidable
But many times
We're given rhymes
That are quite unsingable
We're opera mad in Camelot
We sing from the diaphragm a lot.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.