Skip to content

Commit

Permalink
Merge pull request kivy#6459 from crigaut/docs_wrong_highlights
Browse files Browse the repository at this point in the history
Docs wrong highlights
  • Loading branch information
tshirtman authored Aug 10, 2019
2 parents 2a7513e + 39b8f2d commit 0bfa970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kivy/extras/highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class KivyLexer(RegexLexer):
bygroups(Name.Class, Text, Punctuation, Text)),
(r'(.*?)(\s*)(:)(\s*)(.*?)$',
bygroups(Name.Attribute, Text, Punctuation, Text,
using(PythonLexer)))],
using(PythonLexer))),
(r'[^:]+?$', using(PythonLexer))],
'classList': [
(r'(,)(\s*)([A-Z][A-Za-z0-9]*)',
bygroups(Punctuation, Text, Name.Class)),
Expand Down

0 comments on commit 0bfa970

Please sign in to comment.