refactor(nvim): move telescope.themes
require
This commit is contained in:
parent
6cd5930a30
commit
1a21ee9e23
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue