From 1a8be02cbd9084d5120309f7d175b7b114b5bd4e Mon Sep 17 00:00:00 2001 From: Farrel Nikoson Date: Mon, 8 Jul 2024 16:58:18 +0700 Subject: [PATCH] Update auto-pairs.vim support nvim >= 9 version --- plugin/auto-pairs.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/auto-pairs.vim b/plugin/auto-pairs.vim index af5eb32..bb6126e 100644 --- a/plugin/auto-pairs.vim +++ b/plugin/auto-pairs.vim @@ -627,7 +627,7 @@ func! AutoPairsTryInit() let old_cr = '' let is_expr = 0 else - let old_cr = info['rhs'] + let old_cr = '' let old_cr = s:ExpandMap(old_cr) let old_cr = substitute(old_cr, '', '' . info['sid'] . '_', 'g') let is_expr = info['expr']