Skip to content

Commit 49ed726

Browse files
committed
Fixed error value assign
1 parent 41c873e commit 49ed726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vim-npr.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function! s:print_error(error)
7979
echohl ErrorMsg
8080
echomsg a:error
8181
echohl NONE
82-
let v:errmsg = a:msg
82+
let v:errmsg = a:error
8383
endfunction
8484

8585
" Unmap any user mapped gf functionalities. This is to restore gf

0 commit comments

Comments
 (0)