Skip to content

Commit

Permalink
fix nil
Browse files Browse the repository at this point in the history
  • Loading branch information
Conni2461 committed Feb 21, 2021
1 parent 447ebfb commit 12440e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/pickers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ function Picker:find()
self.prompt_bufnr = prompt_bufnr

local preview_border = preview_opts and preview_opts.border
local preview_border_win = preview_border.win_id and preview_border.win_id
local preview_border_win = (preview_border and preview_border.win_id) and preview_border.win_id

state.set_status(prompt_bufnr, setmetatable({
prompt_bufnr = prompt_bufnr,
Expand Down

0 comments on commit 12440e9

Please sign in to comment.