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
+5 -6
View File
@@ -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,
}
+4 -2
View File
@@ -50,8 +50,10 @@ return {
},
},
extensions = {
'fzf',
fzf = {},
},
})
telescope.load_extension('fzf')
end,
}
}