You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues of trouble.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.9.5
Operating system/version
ubuntu 22.04
Describe the bug
Run command lua require('trouble').open('lsp_incoming_calls'), I get the result as below. It doesn't give the incoming call function name. It is similar to lsp_references.
The result of command 'lua vim.lsp.buf.incoming_calls()' is more reasonable. The result is posted to trouble.
Steps To Reproduce
C code project with clangd setup. Run command lua require('trouble').open('lsp_incoming_calls')
Expected Behavior
Shall same as
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
"folke/trouble.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.5
Operating system/version
ubuntu 22.04
Describe the bug
Run command lua require('trouble').open('lsp_incoming_calls'), I get the result as below. It doesn't give the incoming call function name. It is similar to lsp_references.
![image](https://private-user-images.githubusercontent.com/80554779/345797292-62aee3a8-e45d-4417-9a8a-549e8f26ae38.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NzQ3MDAsIm5iZiI6MTcyNDU3NDQwMCwicGF0aCI6Ii84MDU1NDc3OS8zNDU3OTcyOTItNjJhZWUzYTgtZTQ1ZC00NDE3LTlhOGEtNTQ5ZThmMjZhZTM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA4MjY0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAwYzE5ZmIwMjdiM2NjNWIzMzhhNmEwNjkwMTQzNzYzOTJjM2E4OGI3ZTgwZTc1MWEwYWY1ZWI4ZWFjNTczYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QVzPHln7QXl58rVN9a0dn_EECBjhqOvc5lhtBNveHS8)
The result of command 'lua vim.lsp.buf.incoming_calls()' is more reasonable. The result is posted to trouble.
![image](https://private-user-images.githubusercontent.com/80554779/345798931-9e88a2bd-f30d-4763-95b0-df5ef5e47e60.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NzQ3MDAsIm5iZiI6MTcyNDU3NDQwMCwicGF0aCI6Ii84MDU1NDc3OS8zNDU3OTg5MzEtOWU4OGEyYmQtZjMwZC00NzYzLTk1YjAtZGY1ZWY1ZTQ3ZTYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA4MjY0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3NDU1NTM1YzMwNzlhYzM1MGY5N2E5MDBiMWUxNmEzN2Q1MTkyYzA3MmZiZDkwNWM1ZDAzYmE1MjZiMTQ3ZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RfFmhF4nT0Ik0qLb0pyS7TcpaO_cdgfdMCsE8kACTRQ)
Steps To Reproduce
C code project with clangd setup. Run command lua require('trouble').open('lsp_incoming_calls')
Expected Behavior
Shall same as
![image](https://private-user-images.githubusercontent.com/80554779/345798931-9e88a2bd-f30d-4763-95b0-df5ef5e47e60.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NzQ3MDAsIm5iZiI6MTcyNDU3NDQwMCwicGF0aCI6Ii84MDU1NDc3OS8zNDU3OTg5MzEtOWU4OGEyYmQtZjMwZC00NzYzLTk1YjAtZGY1ZWY1ZTQ3ZTYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA4MjY0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3NDU1NTM1YzMwNzlhYzM1MGY5N2E5MDBiMWUxNmEzN2Q1MTkyYzA3MmZiZDkwNWM1ZDAzYmE1MjZiMTQ3ZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RfFmhF4nT0Ik0qLb0pyS7TcpaO_cdgfdMCsE8kACTRQ)
Repro
The text was updated successfully, but these errors were encountered: