mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 22:42:31 +02:00
Fix completion.charset issue.
This commit is contained in:
1 parent
3485424f6e
commit
f4ce38693f
1 file changed
+8
-1
@@ -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