feat: add telescope picker for yadm files

This commit is contained in:
2024-12-10 13:06:17 -05:00
parent 7d0ea4a1f9
commit dc8cd06cf7
3 changed files with 27 additions and 8 deletions
+4 -5
View File
@@ -41,11 +41,6 @@ return {
'MeanderingProgrammer/render-markdown.nvim', 'MeanderingProgrammer/render-markdown.nvim',
enabled = false, enabled = false,
}, },
{
-- does the same thing as git_files for yadm
'pschmitt/telescope-yadm.nvim',
enabled = false,
},
{ {
-- couldn't get this working.. -- couldn't get this working..
'JoosepAlviste/nvim-ts-context-commentstring', 'JoosepAlviste/nvim-ts-context-commentstring',
@@ -56,4 +51,8 @@ return {
}, },
enabled = false, 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,
}
+3 -1
View File
@@ -50,8 +50,10 @@ return {
}, },
}, },
extensions = { extensions = {
'fzf', fzf = {},
}, },
}) })
telescope.load_extension('fzf')
end, end,
} }