[TxMt] indentedSoftWrap, marker on the next line?

Graham Heath graham.p.heath at gmail.com
Wed Jun 20 19:24:36 UTC 2018


Hello again,

I've got indentedSoftWrap configured and enabled for json with the
following config:

indentedSoftWrap = {
    match = '(\A[ \t]*)';
    format = '  ⏎$1';
};

Which works, and I've been enjoying it, but I'm wondering if the special
character could go on the next line?

Right now I've got

{
  "someLongKey": "with some really long value that just keeps ⏎
           going and going",
}

but I'd like to see
{
  "someLongKey": "with some really long value that just keeps
         ↘︎ going and going",
}

I tried altering the format, but was unsuccessful in getting anything to
appear on the next line.

Thanks,
Graham
-- 
Thanks,
Graham P Heath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20180620/7dfb92e3/attachment.html>


More information about the textmate mailing list