mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 03:22:32 +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.anchored = false;
|
||||||
context.keys = {
|
context.keys = {
|
||||||
text: util.identity,
|
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());
|
context.generate = function () iter(services.charset.getDecoderList());
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user