Escape quotation marks so they can be used in key mappings. (#1213)

* Escape quotation marks so they can be used in key mappings.

* Update version number in change log.
This commit is contained in:
Phil Runninger
2021-01-30 23:43:29 -05:00
committed by GitHub
parent b134f6518b
commit 628098fff1
2 changed files with 2 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ function! s:KeyMap.bind()
else
let keymapInvokeString = self.key
endif
let keymapInvokeString = escape(keymapInvokeString, '\')
let keymapInvokeString = escape(keymapInvokeString, '\"')
let premap = self.key ==# '<LeftRelease>' ? ' <LeftRelease>' : ' '