Skip to content

Commit

Permalink
fix: floats for telescope (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conni2461 authored May 8, 2021
1 parent bc98ca6 commit 5e3bece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/popup/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function popup.create(what, vim_options)
local silent = false
vim.cmd(
string.format(
"autocmd BufLeave,BufDelete %s <buffer=%s> ++once ++nested :lua require('plenary.window').try_close(%s, true)",
"autocmd BufDelete %s <buffer=%s> ++once ++nested :lua require('plenary.window').try_close(%s, true)",
(silent and "<silent>") or '',
bufnr,
win_id
Expand Down

0 comments on commit 5e3bece

Please sign in to comment.