[TxMt] scope-specific word completion collection

Allan Odgaard throw-away-1 at macromates.com
Sat Dec 17 12:40:06 UTC 2005


On 17/12/2005, at 11:14, Allan Odgaard wrote:

> [...] completionCommand = 'perl -pe "s/^\t{4}($TM_CURRENT_WORD.*)\ 
> $|.*\n?/\$1/" <"$TM_FILEPATH"';

Btw: you probably want to add: “|sort|uniq” after the command.




More information about the textmate mailing list