Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
Some instructions for this script state: "Place in ~/.vim/indent/ and let 'er rip!" |
Some instructions for this script state: "Place in ~/.vim/indent/ and let 'er rip!" |
||
β | This may be cryptic to some users. To elaborate a bit |
+ | This may be cryptic to some users. To elaborate a bit... |
The script specifically redefines "indentexpr" to be a new function "SuperShIndent()". |
The script specifically redefines "indentexpr" to be a new function "SuperShIndent()". |
||
β | After the script is in that directory, when you are running Vim you can ":source ~/.vim/indent/sh.vim" to cause the redefinition. Thereafter, any time you use indentexpr, you will be using the new function. |
+ | After the script is in that directory, when you are running Vim you can ":source ~/.vim/indent/sh.vim" to cause the redefinition. Thereafter, any time you use indentexpr, you will be using the new function. |
To learn about indentexpr, run Vim and execute ":help indentexpr". --January 6, 2012 |
To learn about indentexpr, run Vim and execute ":help indentexpr". --January 6, 2012 |