Skip to content

Commit

Permalink
fix: documentation not updating after manually opened
Browse files Browse the repository at this point in the history
Closes #430
  • Loading branch information
Saghen committed Dec 3, 2024
1 parent 4e7ef5d commit 8c1fdc9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/blink/cmp/completion/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ function completion.setup()
list.hide_emitter:on(function() require('blink.cmp.completion.windows.menu').close() end)
list.select_emitter:on(function(event)
require('blink.cmp.completion.windows.menu').set_selected_item_idx(event.idx)
if config.completion.documentation.auto_show then
require('blink.cmp.completion.windows.documentation').auto_show_item(event.context, event.item)
end
require('blink.cmp.completion.windows.documentation').auto_show_item(event.context, event.item)
end)
end

Expand Down

0 comments on commit 8c1fdc9

Please sign in to comment.