refactor(nvim): move telescope.themes require

This commit is contained in:
Oliver Davies 2022-01-11 00:59:24 +00:00
parent 6cd5930a30
commit 1a21ee9e23

View file

@ -1,5 +1,7 @@
local M = {} local M = {}
local themes = require "telescope.themes"
function M.edit_neovim() function M.edit_neovim()
local opts = { local opts = {
prompt_title = "~ dotfiles ~", prompt_title = "~ dotfiles ~",
@ -26,9 +28,9 @@ function M.edit_neovim()
end end
function M.fd() function M.fd()
local themes = require "telescope.themes" local opts = themes.get_ivy()
require("telescope.builtin").find_files(themes.get_ivy()) require("telescope.builtin").find_files(opts)
end end
return M return M