summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-25 23:12:55 -0400
committerJune McEnroe <june@causal.agency>2019-07-25 23:12:55 -0400
commit8d53c3d396e6b95bbb31302d69d1301fa1b76503 (patch)
tree941a5c412c52d79c74ffaf1e958d2dfbc402b9fa /bin
parentGenerate index.html with links from bin.7 (diff)
downloadsrc-8d53c3d396e6b95bbb31302d69d1301fa1b76503.tar.gz
src-8d53c3d396e6b95bbb31302d69d1301fa1b76503.zip
Don't match comments in strings in make
Diffstat (limited to 'bin')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 9bc6aaa2..50ce9109 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -161,7 +161,7 @@ static const struct Syntax MakeSyntax[] = {
 		.pattern = "[$][{](" "[^$}]" "|" "[$][{][^}]*[}]" ")*[}]" },
 	{ Escape,
 		.pattern = "[$][$]" },
-	{ Comment,
+	{ Comment, .parent = ~SET(String),
 		.pattern = "#.*" },
 	{ Todo, .parent = SET(Comment),
 		.pattern = PATTERN_TODO },
oe2018-07-30 * I've really done it nowJune McEnroe2018-05-13 * Highlight Special as NormalJune McEnroe2018-04-02 * Set g:clipboard to pb{copy,paste} alwaysJune McEnroe2018-03-30 * Sort extern crate lines with \cJune McEnroe2018-03-28 * Add \u to sort use linesJune McEnroe2018-03-24 * Only sort system includes with \hJune McEnroe2018-03-06 * Only list first space of tabsJune McEnroe2018-02-12 * Set cinoptionsJune McEnroe2018-02-04 * Tweak colorscheme moreJune McEnroe2018-02-04 * Color MatchParen DarkYellowJune McEnroe2018-02-04 * Map \h to sort includesJune McEnroe2018-01-31 * Remove Tarmak remappings from vimJune McEnroe2018-01-29 * Set t_Co = 8June McEnroe2018-01-29 * Add :Q command aliasJune McEnroe2018-01-29 * Set nonumber in terminalsJune McEnroe2017-12-31 * Use 4-space indent everywhereJune McEnroe2017-09-15 * Rename curtis -> homeJune McEnroe2017-09-06