[!CAUTION] This plugin is a work in progress. It currently implements only the most basic functionality and may contain bugs.
With lazy.nvim:
{
"yqwu905/cscope-calltree.nvim",
dependencies = {
{ "MunifTanjim/nui.nvim" },
},
opts = {},
keys = {
{ "<leader>ci", "<cmd>CallerTree<cr>", desc = "caller tree" },
{ "<leader>co", "<cmd>CalleeTree<cr>", desc = "callee tree" },
},
}
This plugin provide two command: CallerTree
and CalleeTree
. These commands will open a split window
contain a call hierarchy tree with following mapping:
Key | Description |
---|---|
l | Expand node or get caller/callee of current symbol |
h | Collapse node |
K | Show basic information of this node |
q | Close split window |
Currently no configurations are provided;