[Cuis] Preventing pretty print from replacing := with _?
Phil (list)
pbpublist at gmail.com
Thu Jul 16 13:36:29 CDT 2015
Juan,
On Thu, 2015-07-16 at 10:01 -0300, Juan Vuletich wrote:
> On 7/15/2015 8:43 PM, Phil (list) wrote:
> > Is there a setting that will disable this substitution? I would
> > actually prefer it to go the other way: if it sees an _ assignment,
> > replace it with :=
> >
> > Thanks,
> > Phil
>
> Please check #syntaxHighlightingAsYouTypeAnsiAssignment and
> #syntaxHighlightingAsYouTypeLeftArrowAssignment . Both default to false.
>
> Would turning on #syntaxHighlightingAsYouTypeAnsiAssignment be enough
> for you?
>
I'm already setting #syntaxHighlightingAsYouTypeAnsiAssignment to true
and leaving #syntaxHighlightingAsYouTypeLeftArrowAssignment at false.
That seems to work for everything except pretty printing. I also played
with #allowUnderscoreAssignments but that just determines whether or not
_ is valid and doesn't stop pretty print trying to use underscores
anyway (which is entertaining because then pp produces invalid code :-)
> Cheers,
> Juan Vuletich
Thanks,
Phil
More information about the Cuis
mailing list