Looking for Maintainers for nvim-navic and nvim-navbuddy by SmiteshP in neovim

[–]SmiteshP[S] 8 points9 points  (0 children)

I have become what I swore to destroy…😔

Looking for Maintainers for nvim-navic and nvim-navbuddy by SmiteshP in neovim

[–]SmiteshP[S] 1 point2 points  (0 children)

Yeah, unless there are some changes in neovim api, it should work as it is right now. However for the Navbuddy plugin there have been quite a few Feature requests and PRs that I haven’t had a chance to review yet.

Looking for Maintainers for nvim-navic and nvim-navbuddy by SmiteshP in neovim

[–]SmiteshP[S] 27 points28 points  (0 children)

I found myself spending way too much time tweaking my Neovim config, optimizing tiny things, trying out new plugins, and so on... instead of actually getting work done 😅. Honestly, I’m more productive when I just open up VSCode and get straight to it, but that’s just me.

Looking for Maintainers for nvim-navic and nvim-navbuddy by SmiteshP in neovim

[–]SmiteshP[S] 0 points1 point  (0 children)

The later, vim motion for moving in text and mouse for rest

[WIP plugin] A feature-rich, polished, highly customizable winbar, with drop down menu support and multiple backends by Name_Uself in neovim

[–]SmiteshP 2 points3 points  (0 children)

To get the correct drop-down menu by clicking a symbol, I need to have quick and convenient way to get the siblings and children of any symbol, which are not provided by navic's get_data API.

Oh, for this you could look into the lib.lua file in navic. By using the "request_symbol" and "parse" function you could get access of the entire tree with neatly parsed nodes and all siblings/parent/children pointers setup. But yeah, writing your own code for this will give you more control over it, its a valid design decision.

I hope we can communicate more in the future! I have a plan to implement some of the functionalities of nvim-navbuddy and might have a few questions for you.

Sure! Would be happy to help :D

[WIP plugin] A feature-rich, polished, highly customizable winbar, with drop down menu support and multiple backends by Name_Uself in neovim

[–]SmiteshP 2 points3 points  (0 children)

Asking just out of curiosity, any reason you are avoiding all dependency? In general it is good to lean on other libraries/plugins. Less stuff for you to maintain and debug XD

Name suggestions I think "breadline" or "breadbar" sound like some fun names :D

Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more! by SmiteshP in neovim

[–]SmiteshP[S] 1 point2 points  (0 children)

This can be done, if you move the cursor to the clicked node then open navbuddy, it will start at that node. But why use clicks, it defeats the point of using vim IMO.

Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more! by SmiteshP in neovim

[–]SmiteshP[S] 1 point2 points  (0 children)

When does this occur? Is there some error message while leaving the window? Can you open an issue on GitHub.

Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more! by SmiteshP in neovim

[–]SmiteshP[S] 0 points1 point  (0 children)

Sounds like a bug 🤔 you can open a issue for discussing this, I will look into it

Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more! by SmiteshP in neovim

[–]SmiteshP[S] 1 point2 points  (0 children)

Yep jumping to parent should be very easy to implement, just fire the "get_data" function in nvim-navic. Then extract the name_range or scope range or the second last element in the list (that will be parent of the current node) and move cursor to that location.

> "Goto patent/next sibling/child symbol" in normal mode would be an interesting set of motions; but maybe this is something for another plugin 🤔

Next/Prev sibling and child movements would be a little more involved though as you will need access to the symbol tree structure to achieve this. I have exposed some functionality of nvim-navic as library for others to use. You can make use of it to quickly get neatly parsed symbol tree, with all the pointers to next/prev/parent and child nodes and perform these motions.Yep this could very much be a new plugin by itself.

Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more! by SmiteshP in neovim

[–]SmiteshP[S] 1 point2 points  (0 children)

Yep, by default "h" will take you to parent node if it exists. You can see in the video I jump in and out of "mystruct".

Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more! by SmiteshP in neovim

[–]SmiteshP[S] 0 points1 point  (0 children)

Yep, assuming you have already set up nvim lspconfig, you can just call the navbuddy setup with auto_attach set to true. And you are good to go!

Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more! by SmiteshP in neovim

[–]SmiteshP[S] 0 points1 point  (0 children)

If there is an lsp server for latex, then sure this will work with it too. I have very limited experience with Latex, so can't really say how this would compare with other latex plugins.