I've discovered that with 'cindent' set and with 'cinkeys'
containing 0# as it does by default, the >> command has no effect on
a line having a # in column 1.
To demonstrate this, start Vim as
vim -N -u NONE
and enter this line with the # in column 1:
#define this
Type >> and <<. Note that the line shifts to the right and left.
Now execute
:set cindent
and type >>. Note that the line does not move.
Execute
:set cinkeys-=0#
and type >> again. The line shifts to the right.
I've observed this on Linux using vim version 7.2.148 as well as
7.4.27, so this is not a new problem and may well have existed from
the beginning.
Granted, this is a minor problem that I've just now encountered
after having used Vim for many years; it's just annoyingly
interfering with what I'm trying to do at the moment.
Regards,
Gary
--
--
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.