add and load Telescope file browser
This commit is contained in:
parent
38235a9375
commit
63fc8ca14d
2 changed files with 5 additions and 0 deletions
4
lua/weeheavy/plugins/telescope-filebrowser.lua
Normal file
4
lua/weeheavy/plugins/telescope-filebrowser.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
return {
|
||||||
|
"nvim-telescope/telescope-file-browser.nvim",
|
||||||
|
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
||||||
|
}
|
||||||
|
|
@ -7,6 +7,7 @@ return {
|
||||||
config = function(lazy, opts)
|
config = function(lazy, opts)
|
||||||
local telescope = require('telescope')
|
local telescope = require('telescope')
|
||||||
telescope.load_extension('fzf')
|
telescope.load_extension('fzf')
|
||||||
|
telescope.load_extension('file_browser')
|
||||||
telescope.setup({
|
telescope.setup({
|
||||||
defaults = {
|
defaults = {
|
||||||
sorting_strategy = "ascending",
|
sorting_strategy = "ascending",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue