mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 20:02:25 +01:00
fixed custom hints
This commit is contained in:
@@ -534,7 +534,7 @@ function Hints() //{{{
|
|||||||
case "contains" : return containsMatcher(hintString);
|
case "contains" : return containsMatcher(hintString);
|
||||||
case "wordstartswith": return wordStartsWithMatcher(hintString, /*allowWordOverleaping=*/ true);
|
case "wordstartswith": return wordStartsWithMatcher(hintString, /*allowWordOverleaping=*/ true);
|
||||||
case "firstletters" : return wordStartsWithMatcher(hintString, /*allowWordOverleaping=*/ false);
|
case "firstletters" : return wordStartsWithMatcher(hintString, /*allowWordOverleaping=*/ false);
|
||||||
case "custom" : return plugins.customHintMatcher(hintString);
|
case "custom" : return liberator.plugins.customHintMatcher(hintString);
|
||||||
default : liberator.echoerr("Invalid hintmatching type: " + hintMatching);
|
default : liberator.echoerr("Invalid hintmatching type: " + hintMatching);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user