A neovim plugin to display call heirarchy of a function using LSPs already attached to the buffer
- Display call heirarchy of a function as a tree
- <Tab> to expand and collapse tree
- <Enter> key to load the file in a different window
- <Shift-Enter> key to open the file in a different window and move to that window
- Manually add a function to the call Heirarchy (useful to link event based subscribers/publishers)
-
P
to add the copied function function between the current under cursor and it's parent -
p
to add the copied function as incoming call to the current function under cursor - Telescope integration
- Show preview of the call location under the cursor
{
'prasy-loyola/call-tree.nvim',
name = 'call-tree',
event = 'VeryLazy',
config = function()
require'call-tree'.setup()
end,
dependencies = {
{
's1n7ax/nvim-window-picker',
name = 'window-picker',
version = '2.*',
},
},
}