mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 18:57:34 +00:00
Add telescope file_browser
This commit is contained in:
parent
e44c226a70
commit
edc6cc173e
@ -279,6 +279,7 @@ return require("packer").startup({
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-lua/popup.nvim",
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
},
|
||||
tag = utils.map_version_rule({
|
||||
[">=0.6.0"] = nil,
|
||||
|
@ -1,3 +1,11 @@
|
||||
local function load_extensions()
|
||||
local utils = require("utils")
|
||||
require("telescope").load_extension("file_browser")
|
||||
if utils.is_plugin_loaded("nvim-notify") then
|
||||
require("telescope").load_extension("notify")
|
||||
end
|
||||
end
|
||||
|
||||
local function config_telescope()
|
||||
local actions = require("telescope.actions")
|
||||
require("telescope").setup({
|
||||
@ -32,9 +40,7 @@ local function config_telescope()
|
||||
opts
|
||||
)
|
||||
|
||||
if require("utils").is_plugin_loaded("nvim-notify") then
|
||||
require("telescope").load_extension("notify")
|
||||
end
|
||||
load_extensions()
|
||||
end
|
||||
|
||||
config_telescope()
|
||||
|
Loading…
Reference in New Issue
Block a user