Skip to content

Commit 519c520

Browse files
authored
[vim bindings] Disable autocorrect for prompt
1 parent 40f90ad commit 519c520

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

keymap/vim.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4186,7 +4186,8 @@
41864186
}
41874187
function makePrompt(prefix, desc) {
41884188
var raw = '<span style="font-family: monospace; white-space: pre">' +
4189-
(prefix || "") + '<input type="text"></span>';
4189+
(prefix || "") + '<input type="text" autocorrect="off" ' +
4190+
'autocapitalize="off" spellcheck="false"></span>';
41904191
if (desc)
41914192
raw += ' <span style="color: #888">' + desc + '</span>';
41924193
return raw;

0 commit comments

Comments
 (0)