Skip to content

Commit

Permalink
feat: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kawarimidoll committed Nov 28, 2023
1 parent bbc5abd commit 52633d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k.vim
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function! k#initialize(opts = {}) abort
" ユーザー辞書
let s:user_jisyo_path = get(a:opts, 'user_jisyo_path', expand('~/.cache/vim/SKK-JISYO.user'))
if s:user_jisyo_path !~ '^/'
echoerr '[k#initialize] user_jisyo_path must be start with /'
echoerr $"[k#initialize] user_jisyo_path must be start with '/' {s:user_jisyo_path}"
return
endif
" 指定されたパスにファイルがなければ作成する
Expand Down

0 comments on commit 52633d3

Please sign in to comment.