Commit 45e6f1f4 authored by Patrik B's avatar Patrik B

fixed issues #9 and #10

parent 9b397d7e
......@@ -34,14 +34,14 @@
"comment": {
"comment": "Single and multi-line comments",
"patterns": [{
"match": "(#)\\s*(TODO)?.*$",
"match": "(#)(?:\\s|#)*(TODO)?.*$",
"captures": {
"0": { "name": "comment.line.number-sign.leo" },
"1": { "name": "punctuation.section.comment.line.leo" },
"2": { "name": "comment.todo.leo" }
}
}, {
"begin": "(\\(\\*)\\s*(TODO)?",
"begin": "(\\(\\*)(?:\\s|\\*)*(TODO)?",
"end": "\\*\\)",
"name": "comment.block.leo",
"beginCaptures": {
......@@ -278,7 +278,7 @@
"patterns": [{ "include": "#leo-expression" }]
}, {
"comment": "Captures the built in leo 'functions' without parameters that follow after the variable",
"match": "\\.\\s*\\b(empty|length)\\b",
"match": "\\.\\s*\\b(empty|length|trim)\\b",
"captures": {
"0": { "name": "meta.call.function.built-in.leo" },
"1": { "name": "support.function.sequence.leo" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment