Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Commit 0abc948

Browse files
fix a crash when closing a picker with no matches
#60 it was reverted in the original repo with fea272d but i still think this should be deleted and that fixes the close issue open a picker, type text until there are no matches, close the picker
1 parent 2106776 commit 0abc948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-devdocs/pickers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ local metadata_previewer = previewers.new_buffer_previewer({
4848

4949
local doc_previewer = previewers.new_buffer_previewer({
5050
title = "Preview",
51-
keep_last_buf = true,
51+
-- keep_last_buf = true,
5252
define_preview = function(self, entry)
5353
local bufnr = self.state.bufnr
5454

0 commit comments

Comments
 (0)