>
> It's not perfect by any means (in particular, when you first enter the code
> it doesn't seem to line up properly, but is fine once it's reformatted), but
> it does the job for me.
>
> Spencer
Hey thanks for that. I made a quick fix to your script to solve the
problem. You just need to force vim to reindent when you hit a comma.
Add this to the bottom of the script.
set indentkeys=0{,0},0),:,0#,!^F,o,O,e,0\,,0(
It differs from the default only in that if you type a comma ',' or a
opening round bracket '(' at the begining of a line a re-indent
occurs.
Again thanks.
This has made my day.
Brad
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---