Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

mako python code upsets syntax coloring #46

Open
Mrten opened this issue Nov 9, 2016 · 0 comments
Open

mako python code upsets syntax coloring #46

Mrten opened this issue Nov 9, 2016 · 0 comments

Comments

@Mrten
Copy link

Mrten commented Nov 9, 2016

I realize you maybe not want to support mako in slses but if you still want to here is a short snippet of code that upsets the syntax coloring:

<%
out.append("{{{{ record('{0}', 'SSHFP', '{1}') }}}}".format(host,line))

# the following line starts red
out.append("{{{{ record('piro', 'SSHFP', '{0}') }}}}".format(line))

%>
${"\n".join(out)}

Looks like this:

screen shot 2016-11-09 at 09 nov 12 33 10

This is mako code that generates jinja templates, hence the amount of braces.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant