feat: Add livegrep and lsp referecnes

This commit is contained in:
TJ DeVries
2020-08-27 22:12:44 -04:00
parent c4dd59ff65
commit 7e9f38a87e
10 changed files with 475 additions and 166 deletions

View File

@@ -11,22 +11,15 @@ local state = require('telescope.state')
local builtin = require('telescope.builtin')
local telescope = {
-- <module>.new { }
finders = finders,
pickers = pickers,
previewers = previewers,
sorters = sorters,
-- -- <module>.new { }
-- finders = finders,
-- pickers = pickers,
-- previewers = previewers,
-- sorters = sorters,
state = state,
-- state = state,
builtin = builtin,
-- builtin = builtin,
}
function __TelescopeOnLeave(prompt_bufnr)
local status = state.get_status(prompt_bufnr)
local picker = status.picker
picker:close_windows(status)
end
return telescope