aboutsummaryrefslogtreecommitdiff
path: root/code/src/syntax_highlight/grammar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'code/src/syntax_highlight/grammar.rs')
-rw-r--r--code/src/syntax_highlight/grammar.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/src/syntax_highlight/grammar.rs b/code/src/syntax_highlight/grammar.rs
index aa4008a..82ae243 100644
--- a/code/src/syntax_highlight/grammar.rs
+++ b/code/src/syntax_highlight/grammar.rs
@@ -38,7 +38,7 @@ pub fn grammar_for(syntax: &str) -> &'static [(&'static str, &'static [&'static
// makefile doesnt really match the token-kinds, i'll just use something that looks goo
"makefile" => &[
("comment", &["(?m)(#.*)$"]),
- ("literal", &[".+:"]),
+ ("literal", &[".+: "]),
("macro", &["\\$\\(\\w+\\)"]),
("type", &["\\$@", "\\$<"]),
],