fix: Close existing pickers when starting new one. Fix #102

This commit is contained in:
TJ DeVries
2020-09-22 09:59:06 -04:00
parent d7ee7266ab
commit be9a0e5236
2 changed files with 12 additions and 0 deletions

View File

@@ -15,4 +15,8 @@ function state.clear_status(prompt_bufnr)
state.set_status(prompt_bufnr, nil)
end
function state.get_existing_prompts()
return vim.tbl_keys(TelescopeGlobalState)
end
return state