> I've set shiftwidth=4 (from sw=8 to keep my lines from walking off the > right-hand side of the screen) > but now when I try to fold lines using: > :se foldmethod=indent > > folding isn't producing results I am expecting; folding felt right > when sw was set to 8.
How are you currently indenting? Information on your 'tabstop', 'softtabstop', and 'expandtab' settings might help reproduce the situation here. :set ts? sts? et? Additionally, on the problematic lines (regardless of your 'et' setting), are there tabs or spaces? When the 'ts' != 'sw', you may see behavior that looks inconsistent. In the :help 'ts' I tend to fly with option #4 (using spaces for non-initial indentation of comments, noexpandtab, and sw=ts) -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
