aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-06-19 10:50:32 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-06-19 10:50:32 -0400
commit42aa197c75969fdae6757df4ad9ed05e29f0ef48 (patch)
treea1a177a6e30ea1dab927931ecd98597e2b5b7627 /src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
parentCommit some minor updates to whitespace and the python syntax file name. (diff)
downloadlumina-42aa197c75969fdae6757df4ad9ed05e29f0ef48.tar.gz
lumina-42aa197c75969fdae6757df4ad9ed05e29f0ef48.tar.bz2
lumina-42aa197c75969fdae6757df4ad9ed05e29f0ef48.zip
Updated Python syntax rules
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
index f6973603..6690d98c 100644
--- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
+++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/python.syntax
@@ -38,7 +38,7 @@
},
{
"name": "numbers",
- "regex" : "\\b[0-9\\.]+\\b",
+ "regex" : "\\b[0-9]+\\.?[0-9]*\\b",
"foreground": "colors/altkeyword"
},
{
bgstack15