1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-02 20:24:12 +01:00

add 'hlsearch' option

This commit is contained in:
Doug Kearns
2007-09-03 19:10:32 +00:00
parent 72e352abbe
commit 6d33284a76
2 changed files with 16 additions and 4 deletions

View File

@@ -425,6 +425,13 @@ function Options() //{{{
default_value: DEFAULT_HINTTAGS
}
));
addOption(new Option(["hlsearch", "hls"], "boolean",
{
short_help: "Highlight previous search pattern matches",
setter: function(value) { if (value) vimperator.search.highlight(); else vimperator.search.clear(); },
default_value: false
}
));
addOption(new Option(["maxhints", "mh"], "number",
{
short_help: "Maximum number of simultaneously shown hints",