summaryrefslogtreecommitdiff
path: root/misc/buttress.sl
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2000-11-22 20:11:48 +0000
committerSimon Tatham <anakin@pobox.com>2000-11-22 20:11:48 +0000
commitcd4e3150d31094b1d20f5718bb0e2b1812ec3bb3 (patch)
treedf7195804dbabda2f8642b26335a98143f89d7bf /misc/buttress.sl
parentcc04717cb665d50d6843d9760a5cddf584ba126e (diff)
downloadhalibut-cd4e3150d31094b1d20f5718bb0e2b1812ec3bb3.zip
halibut-cd4e3150d31094b1d20f5718bb0e2b1812ec3bb3.tar.gz
halibut-cd4e3150d31094b1d20f5718bb0e2b1812ec3bb3.tar.bz2
halibut-cd4e3150d31094b1d20f5718bb0e2b1812ec3bb3.tar.xz
Add nonbreaking space as \_
[originally from svn r810]
Diffstat (limited to 'misc/buttress.sl')
-rw-r--r--misc/buttress.sl2
1 files changed, 1 insertions, 1 deletions
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);