File tree 3 files changed +34
-22
lines changed
3 files changed +34
-22
lines changed Original file line number Diff line number Diff line change 61
61
"telescope-dap.nvim" : { "branch" : " master" , "commit" : " 8c88d9716c91eaef1cdea13cb9390d8ef447dbfe" },
62
62
"telescope-fzf-native.nvim" : { "branch" : " main" , "commit" : " cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
63
63
"telescope-live-grep-args.nvim" : { "branch" : " master" , "commit" : " 8ad632f793fd437865f99af5684f78300dac93fb" },
64
+ "telescope-undo.nvim" : { "branch" : " main" , "commit" : " 2971cc9f193ec09e0c5de3563f99cbea16b63f10" },
64
65
"telescope.nvim" : { "branch" : " master" , "commit" : " bfcc7d5c6f12209139f175e6123a7b7de6d9c18a" },
65
66
"todo-comments.nvim" : { "branch" : " main" , "commit" : " 313b04e5b02d29ab9275c9295ff5e2b73921b0eb" },
66
67
"toggle-lsp-diagnostics.nvim" : { "branch" : " main" , "commit" : " afcacba44d86df4c3c9752b869e78eb838f55765" },
67
68
"trouble.nvim" : { "branch" : " main" , "commit" : " 4453fea6bb597830fbd58d2c484612f37b97bd8c" },
68
- "undotree" : { "branch" : " master" , "commit" : " 78b5241191852ffa9bb5da5ff2ee033160798c3b" },
69
69
"venv-selector.nvim" : { "branch" : " main" , "commit" : " f16c25bf16ac6e8bbdbcc9e9b3a1a00729d00c99" },
70
70
"vim-better-whitespace" : { "branch" : " master" , "commit" : " 86a0579b330b133b8181b8e088943e81c26a809e" },
71
71
"vim-fugitive" : { "branch" : " master" , "commit" : " 8c8cdf4405cb8bdb70dd9812a33bb52363a87dbc" },
Original file line number Diff line number Diff line change
1
+ return {
2
+ " debugloop/telescope-undo.nvim" ,
3
+ dependencies = { -- note how they're inverted to above example
4
+ {
5
+ " nvim-telescope/telescope.nvim" ,
6
+ dependencies = { " nvim-lua/plenary.nvim" },
7
+ },
8
+ },
9
+ keys = {
10
+ { -- lazy style key map
11
+ " <leader>u" ,
12
+ " <cmd>Telescope undo<cr>" ,
13
+ desc = " undo history" ,
14
+ },
15
+ },
16
+ opts = {
17
+ -- don't use `defaults = { }` here, do this in the main telescope spec
18
+ extensions = {
19
+ undo = {
20
+ xx = 1 ,
21
+ -- telescope-undo.nvim config, see below
22
+ },
23
+ -- no other extensions here, they can have their own spec too
24
+ },
25
+ },
26
+ config = function (_ , opts )
27
+ -- Calling telescope's setup from multiple specs does not hurt, it will happily merge the
28
+ -- configs for us. We won't use data, as everything is in it's own namespace (telescope
29
+ -- defaults, as well as each extension).
30
+ require (" telescope" ).setup (opts )
31
+ require (" telescope" ).load_extension (" undo" )
32
+ end ,
33
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments