cmap now accepts all expressions (#686)

This commit is contained in:
SPFab authored and GitHub committed 2021-08-25 18:28:47 +03:00
1 parent 05a48ea315
commit 0edf0823b7
3 files changed
+11 -15

No files matched your search

+1 -1
View File
@@ -218,7 +218,7 @@ var gEvalTests = []struct {
{
"cmap <c-g> cmd-escape",
[]string{"cmap", "<c-g>", "cmd-escape", "\n"},
[]expr{&cmapExpr{"<c-g>", "cmd-escape"}},
[]expr{&cmapExpr{"<c-g>", &callExpr{"cmd-escape", nil, 1}}},
},
{