Skip to content

Commit

Permalink
More robust changetick check
Browse files Browse the repository at this point in the history
This will now still trigger if I reload the changedtick to 0
  • Loading branch information
Olical committed Jan 30, 2019
1 parent b495ed4 commit fa8495a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/conjure.vim
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function! conjure#update_completions()
let b:conjure_last_completion_changedtick = -1
endif

if b:conjure_last_completion_changedtick < g:conjure_changedtick
if b:conjure_last_completion_changedtick != g:conjure_changedtick
call rpcnotify(s:jobid, "update_completions")
let b:conjure_last_completion_changedtick = g:conjure_changedtick
endif
Expand Down

0 comments on commit fa8495a

Please sign in to comment.