feat: add telescope picker for yadm files
This commit is contained in:
@@ -41,11 +41,6 @@ return {
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
enabled = false,
|
||||
},
|
||||
{
|
||||
-- does the same thing as git_files for yadm
|
||||
'pschmitt/telescope-yadm.nvim',
|
||||
enabled = false,
|
||||
},
|
||||
{
|
||||
-- couldn't get this working..
|
||||
'JoosepAlviste/nvim-ts-context-commentstring',
|
||||
@@ -56,4 +51,8 @@ return {
|
||||
},
|
||||
enabled = false,
|
||||
},
|
||||
{
|
||||
'debugloop/telescope-undo.nvim',
|
||||
enabled = false,
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
-- does the same thing as git_files, but for yadm
|
||||
'pschmitt/telescope-yadm.nvim',
|
||||
dependencies = {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
},
|
||||
enabled = true,
|
||||
event = 'VeryLazy',
|
||||
|
||||
config = function(_, opts)
|
||||
local telescope = require('telescope')
|
||||
|
||||
telescope.setup(opts)
|
||||
telescope.load_extension('yadm_files')
|
||||
telescope.load_extension('git_or_files')
|
||||
telescope.load_extension('git_or_yadm_files')
|
||||
end,
|
||||
}
|
||||
@@ -50,8 +50,10 @@ return {
|
||||
},
|
||||
},
|
||||
extensions = {
|
||||
'fzf',
|
||||
fzf = {},
|
||||
},
|
||||
})
|
||||
|
||||
telescope.load_extension('fzf')
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user