ldelossa/litee-calltree.nvim

Get error "must make call tree request to LSP" when doing :LTPopOutCalltree

FerrisWasTaken opened this issue · 3 comments

I have been trying to get the call tree for Rust particularly but I get that error (mentioned in title) so i tried to doing :LTPanel but that said
there must be a existing litee component. Can somebody help me with this

litee-calltree is wired into Neovim's lsp functions. Did you attempt to directy or indirectly create a call heirarchy request? lua vim.lsp.buf.incoming_calls or lua vim.lsp.buf.outgoing_calls will do it.

after trying lua vim.lsp.buf.incoming_calls I got expected = near

@muppi090909 you'll have to read a few tutorials or checkout ":h vim.lsp" in neovim to figure out how to use those functions correctly. Most bind the functions to keymappings.

Here's a good starting point: https://github.com/neovim/nvim-lspconfig#suggested-configuration