Add binding to toggle context view
This commit is contained in:
parent
5cab0a1769
commit
04a589a130
|
@ -135,6 +135,7 @@ return {
|
|||
keys = {
|
||||
-- stylua: ignore 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
|
||||
},
|
||||
opts = { enable = true },
|
||||
|
|
Loading…
Reference in a new issue