Add binding to toggle context view
This commit is contained in:
parent
5cab0a1769
commit
04a589a130
|
@ -135,6 +135,7 @@ return {
|
||||||
keys = {
|
keys = {
|
||||||
-- stylua: ignore start
|
-- stylua: ignore start
|
||||||
{ "[c", function() require("treesitter-context").go_to_context() end, desc = "Go to context start", },
|
{ "[c", function() require("treesitter-context").go_to_context() end, desc = "Go to context start", },
|
||||||
|
{ "<leader>c", function() require("treesitter-context").toggle() end, desc = "Toggle context view", },
|
||||||
-- stylua: ignore end
|
-- stylua: ignore end
|
||||||
},
|
},
|
||||||
opts = { enable = true },
|
opts = { enable = true },
|
||||||
|
|
Loading…
Reference in a new issue