Skip to content

Syntax highlighting error when CREATE keyword present #7

@ochawkeye

Description

@ochawkeye

Sublime Text 2 Version 2.0.2, Build 2221 (Windows 7)
Python Improved v1.2.0

Python string syntax highlighting breaks when the word CREATE is used in combination with quotation marks.

print "CREATE '%s'" % ('abc')  # Missing highlighting
print 'CREATE "%s"' % ('def')  # Missing highlighting
print "GRANT '%s'" % ('ghi')  # Highlighting ok
print "CREAT '%s'" % ('jkl')  # Highlighting ok
print "CREATE %s" % ('mno')  # Highlighting ok
print "create '%s'" % ('pqr')  # Highlighting ok

sublime text python improved syntax highlighting

Expected behavior would be for %s to display in purple in all cases.
This issue exists with standard Python syntax language file in Sublime Text as well.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions