feat: Add livegrep and lsp referecnes
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
local state = {}
|
||||
|
||||
state._statuses = {}
|
||||
TelescopeGlobalState = TelescopeGlobalState or {}
|
||||
|
||||
--- Set the status for a particular prompt bufnr
|
||||
function state.set_status(prompt_bufnr, status)
|
||||
state._statuses[prompt_bufnr] = status
|
||||
TelescopeGlobalState[prompt_bufnr] = status
|
||||
end
|
||||
|
||||
function state.get_status(prompt_bufnr)
|
||||
return state._statuses[prompt_bufnr] or {}
|
||||
return TelescopeGlobalState[prompt_bufnr] or {}
|
||||
end
|
||||
|
||||
function state.clear_status(prompt_bufnr)
|
||||
|
||||
Reference in New Issue
Block a user