From cd4e3150d31094b1d20f5718bb0e2b1812ec3bb3 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 22 Nov 2000 20:11:48 +0000 Subject: Add nonbreaking space as \_ [originally from svn r810] --- misc/buttress.sl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/buttress.sl b/misc/buttress.sl index 0d7e207..1a88515 100644 --- a/misc/buttress.sl +++ b/misc/buttress.sl @@ -13,7 +13,7 @@ set_syntax_flags ($1, 8); %enable_highlight_cache ("buttress.dfa", $1); define_highlight_rule ("\\\\#.*$", "comment", $1); define_highlight_rule ("^\\\\c([ \t].*)?$", "string", $1); -define_highlight_rule ("\\\\[\\\\{}]", "keyword0", $1); +define_highlight_rule ("\\\\[\\\\{}\\-_]", "keyword0", $1); define_highlight_rule ("\\\\[A-Za-tv-z][A-Za-z0-9]*", "keyword0", $1); define_highlight_rule ("\\\\u[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]", "keyword0", $1); -- cgit v1.1