this would be very useful for shell scripting
I've added sh support in my fork:
if .. fi
while .. done
for .. done
case .. esac
(The indenting on esac isn't right, but I think that's a problem in the sh syntax itself; it does the same thing without endwise.)
This appears to be merged, in d8c887b .
@tangledhelix Re case...esac indentation. I just came to file a bug about this (or see if there was one already), when I found your comment. I think unfortunately that you're wrong. The problem isn't in Vim's indentation for shell files. Without vim-endwise, esac works fine for me. But if I use endwise, the indentation is off. I've filed a bug and would love your input.