[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adding limit/expand to sh highlighting


I've tried a number of things.

placing...
  limit
  from /^function/

in various places in the sh.highlight file, but no success

i need to let the sh.highlignt file know a limit (function) beings in 1 of
2 ways

function MyCommand() {
}
or just
MyCommand() {
}

to be honest i don't really understand the new highlight system.
I'm unsure of where to put the 'limit' definition in the file and what
syntax to use to meet the above mentioned function definition.

Any advice would be appreciated.

Thanks
BruceS

Follow-Ups:
Re: adding limit/expand to sh highlightingBruce Steers <bsteers4@xxxxxxxxx>