How do I control the indentation in shell scripts when using the filetype indent plugin?
I have consulted Vim's documentation and found the section on ft-sh-indent to be confusing. The documenation found on the Web is the same as what I have locally. <http://vimdoc.sourceforge.net/htmldoc/indent.html#ft-sh-indent> I have tried setting the documented values in '~/.vim/after/indent/sh.vim' as well as setting values manually with a shell file loaded. Both result in undefined variable error when trying to set dictionary keys. I have looked in '/usr/share/vim/vim72/indent/sh.vim' and have not found any references to the variables documented. I am running Vim 7.2 on Ubuntu 9.04 and have filetype detection, plugin, and indent enabled. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
