SmiteshP / nvim-navic

Simple winbar/statusline plugin that shows your current code context
Apache License 2.0
1.43k stars 50 forks source link

Can it work with trouble.nvim(v2) preview buffer? #145

Open cpcopy opened 6 months ago

cpcopy commented 6 months ago

I am using trouble.nvim and lualine.nvim. The function information is added into section c of lualine. When preview the references in touble, it works when the file is already actually opened in a buffer. But it doesn't work when the file is only opened in trouble's preview buffer. If I use nvim_treesitter#statusline instead, it can work.