diff --git a/autoload/skkeleton/internal/map.vim b/autoload/skkeleton/internal/map.vim index 424f94d8..04452da7 100644 --- a/autoload/skkeleton/internal/map.vim +++ b/autoload/skkeleton/internal/map.vim @@ -20,7 +20,7 @@ function skkeleton#internal#map#restore() abort for [mode, maps] in items(buf) execute mode .. 'mapclear ' for m in maps - call mapset(m) + call mapset(mode, v:false, m) endfor endfor silent! unlet s:vault[bufnr]