Hey all,

I'm having an indentation problem that I can't figure out how to solve. 
Given the following code:


switch ($foo) {
    case 'bar':
    case 'baz:
        zook();
    break;
}


Now I run the indention on it by visual select & =, or just 1G=G.

However, what happens is the following:

switch ($foo) {
    case 'bar':
        case 'baz':
            zook();
            break;
}

Not quite what I want to happen.  Anyone know why it's doing that?

--
dave
-- 
View this message in context: 
http://old.nabble.com/Intenting-switch-case-in-vim-with-php-tp27275061p27275061.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to