From 2c403575f63ca3b51495da37811bece0de893d1b Mon Sep 17 00:00:00 2001 From: kuuote Date: Thu, 6 Jun 2024 12:50:28 +0900 Subject: [PATCH] fix: remove unexpected option restore call --- autoload/skkeleton/internal/option.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/skkeleton/internal/option.vim b/autoload/skkeleton/internal/option.vim index b32e3ccd..f612cc47 100644 --- a/autoload/skkeleton/internal/option.vim +++ b/autoload/skkeleton/internal/option.vim @@ -8,7 +8,7 @@ endfunction function skkeleton#internal#option#save_and_set() " cmdline関係ないオプションだけなので辞書登録時はスキップ if mode() !=# 'c' - call skkeleton#internal#option#restore() + return endif call s:ensure(s:textwidth, bufnr(), &l:textwidth) call s:ensure(s:virtualedit, win_getid(), &l:virtualedit)