[SVN] [PATCH] (ShellScript) Patch to “New Function”: add parentheses after function name

Martin Kühl martin.kuehl at gmail.com
Sat Jan 17 14:39:59 UTC 2009


Hi all,

the current "New Function" command uses the "funcion $name {…}" format
for shell functions, which the shell script grammar doesn't highlight
correctly.
This patch applies the easy fix of just using the "function $name ()
{…}" form instead.

Thanks,
Martin

Patch on pastie:
http://pastie.textmate.org/private/wwnskgqicpf0vxcmic8lha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastie-363251.diff
Type: application/octet-stream
Size: 386 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090117/5d613260/attachment.diff>


More information about the textmate-dev mailing list