From bc8a81d3592dab86334f27d1d43c080ebf680d42 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 14 Oct 2022 17:40:10 +0200 Subject: Update --- autoload/LaTeXtoUnicode.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/LaTeXtoUnicode.vim') diff --git a/autoload/LaTeXtoUnicode.vim b/autoload/LaTeXtoUnicode.vim index 86420cca..b512a734 100644 --- a/autoload/LaTeXtoUnicode.vim +++ b/autoload/LaTeXtoUnicode.vim @@ -348,7 +348,7 @@ endfunction " be reinstated if needed. function! s:L2U_SetFallbackMapping(s, k) let mmdict = maparg(a:s, 'i', 0, 1) - if empty(mmdict) + if empty(mmdict) || !has_key(mmdict, "rhs") exe 'inoremap ' . a:k . ' ' . a:s return mmdict endif -- cgit v1.2.3