aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-06-19 16:26:47 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-06-19 16:27:13 -0400
commit0f40a66e52537f31a45a00d73202e1ceb496ca73 (patch)
treea03030f38d18b563b20b5e5819f0877c4e7b4dac /src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-0f40a66e52537f31a45a00d73202e1ceb496ca73.tar.gz
lumina-0f40a66e52537f31a45a00d73202e1ceb496ca73.tar.bz2
lumina-0f40a66e52537f31a45a00d73202e1ceb496ca73.zip
Added Go rules and corrected number highlighting syntax
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax
index 1aa906d4..15f6e2a5 100644
--- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax
+++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/php.syntax
@@ -16,7 +16,7 @@
},
"rules": [{
"name": "keywords",
- "words": ["private", "public", "class", "function", "const", "return", "if", "else", "bool", "abstract", "and", "as", "break", "case", "catch", "const", "do", "echo", "elseif", "default", "endif", "endfor", "final", "for", "foreach", "extends", "global", "include", "interface", "new", "or", "protected", "require", "static", "switch", "throw", "try", "use", "var", "while", "xor"],
+ "words": ["private", "public", "class", "function", "const", "return", "if", "else", "bool", "abstract", "and", "as", "break", "case", "catch", "const", "do", "echo", "int", "elseif", "default", "endif", "endfor", "final", "for", "foreach", "extends", "global", "include", "interface", "new", "or", "protected", "require", "static", "switch", "throw", "try", "use", "var", "while", "xor"],
"foreground": "colors/keyword"
},
{
@@ -32,7 +32,7 @@
},
{
"name": "numbers",
- "regex": "\\b([0-9]+[\\.]?[0-9]?)+\\b",
+ "regex": "\\b[0-9]+\\.?[0-9]*\\b",
"foreground": "colors/altkeyword"
},
{
bgstack15