mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-04 00:25:46 +01:00
Fix completion.charset issue.
This commit is contained in:
@@ -811,7 +811,14 @@ unlet s:cpo_save
|
||||
context.anchored = false;
|
||||
context.keys = {
|
||||
text: util.identity,
|
||||
description: services.charset.getCharsetTitle
|
||||
description: function (charset) {
|
||||
try {
|
||||
return services.charset.getCharsetTitle(charset);
|
||||
}
|
||||
catch (e) {
|
||||
return charset;
|
||||
}
|
||||
}
|
||||
};
|
||||
context.generate = function () iter(services.charset.getDecoderList());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user