Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
tamago324 committed Feb 3, 2020
1 parent 0a7eb37 commit 93bc83a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/blamer.vim
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function! blamer#CreatePopup(buffer_number, line_number, message) abort
endfunctio

function! blamer#Show() abort
if g:blamer_enabled == 0 || s:is_not_work
if g:blamer_enabled == 0 || s:missing_popup_feature
return
endif

Expand Down Expand Up @@ -216,7 +216,7 @@ function! blamer#Init() abort
return
endif

if s:is_not_work
if s:missing_popup_feature
echohl ErrorMsg
echomsg '[blamer.nvim] Needs popup feature.'
echohl None
Expand Down

0 comments on commit 93bc83a

Please sign in to comment.