We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6fde07 commit d7417d0Copy full SHA for d7417d0
js/vimlfunc.js
@@ -152,7 +152,7 @@ function viml_keys(obj) {
152
153
function viml_len(obj) {
154
if (typeof obj === 'string') {
155
- return unescape(encodeURIComponent(obj))
+ return encodeURIComponent(obj).replace(/%../g, ' ').length;
156
}
157
return obj.length;
158
js/vimlparser.js
0 commit comments