glance.nvim
glance.nvim copied to clipboard
A pretty window for previewing, navigating and editing your LSP locations
this is and example from `Telescope lsp_references`, it's able to use `` to select and `` to push selections to quickfix  
https://github.com/DNLHC/glance.nvim/assets/97848247/1342bd51-549f-4d70-915f-309295811bf3 With this change, I no longer need to look at right list. If there is only one group, show index/total, otherwise, show index/group/total, from the screenshot above, you can...
```lua function Glance:on_resize() local list_win_opts, preview_win_opts = get_win_opts(self.parent_winnr, self.row) vim.api.nvim_win_set_config(self.list.winnr, list_win_opts) utils.win_set_options(self.list.winnr, win_opts) vim.api.nvim_win_set_config(self.preview.winnr, preview_win_opts) end ``` I add utils.win_set_options(self.list.winnr, win_opts) to fix the problem, what do you think?
Hi there ! Thanks for the plugin ! Is there a way to stick window to the bottom ? In that case, everytime I am looking for an LSP reference...
Code is ```java public class Main { public static void main(String[] args) { System.out.println("Hello, world"); } void a() { b(); c(); } void b() { c(); } void c() {...
I like that glance is able to generate a nicely looking color scheme for its popup. But I thought it would be nice if the generated colors could be darkened...
In VSCode if I have references glance view sometimes I like to move the main editor to the position of currently selected popup item without closing the popup. It updates...
Hey there @DNLHC !! First things first: Beautiful!!! :-) (I actually installed it instead of my rmagatti/goto-preview -plugin ... for now, let's see if it works smoothly for me) Then,...
Is there any way to have a file opened in the glance window not create an entry in `:oldfiles`? I'd only want an `:oldfiles` entry if I actually open the...
Hey, I've been trying to track down this issue with Glance. It seems like I can use l to jump into the preview window, but once in there, i can't...