summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-12 18:18:52 -0500
committerJune McEnroe <june@causal.agency>2019-02-12 18:18:52 -0500
commit03470766d32782746fd158efab144d9e588ffb0d (patch)
tree9d4f341055cd632c6550e82402afdf874e6fa43b /bin
parentUnify *up scripts into one up.sh (diff)
downloadsrc-03470766d32782746fd158efab144d9e588ffb0d.tar.gz
src-03470766d32782746fd158efab144d9e588ffb0d.zip
Fix sh comment pattern to require blank
Diffstat (limited to '')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 9ac3851e..2da1ea6d 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -236,7 +236,7 @@ static const struct Syntax ShSyntax[] = {
 		"(([^\n]|\n\t*[^E]|\n\t*E[^O]|\n\t*EO[^F]|\n\t*EOF[^\n])*)"
 		"\n\t*EOF\n" },
 	{ Comment, .parent = ~SET(String), .subexp = 2,
-		.pattern = "(^|" WS ")" "(#.*)" },
+		.pattern = "(^|[[:blank:]]+)(#.*)" },
 	{ Todo, .parent = SET(Comment),
 		.pattern = PATTERN_TODO },
 };
itle='2018-08-18 16:34:23 -0400'>2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe