nvim-navic
nvim-gps
nvim-navic | nvim-gps | |
---|---|---|
32 | 19 | |
1,284 | 506 | |
- | - | |
6.7 | 8.7 | |
3 months ago | almost 2 years ago | |
Lua | Scheme | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nvim-navic
-
What's this type of plugin called? (it shows the structure of code)
This can be done using a statusline plugin like nvim-navic
-
[WIP] A feature-rich, polished, highly customizable winbar, with drop down menu support and multiple backends
Zero-depency, yes, this is not another extension of navic. It does not even depends on nvim-treesitter or nvim-lspconfig, nor do you need to register an 'on_attach' function. as long as treesitter parsers or language servers are intalled correctly, the winbar should start working out of the box
-
what plugin added the breadcrumb/context info to the winbar?
nvim-navic. This option is particularly nice because it also enables using nvim-navbuddy which I have found incredibly useful for navigating large files.
-
Navi: your NeoVim assistant. I made a plugin based on the idea of "natural language first based development". We've got scaffolding of code, edit selected code, review selected code and an in editor chat. Still got ways to go, but the outline is there and it kinda works! :D My first go at plugins
Kudos for writing your first plugin! However, that's a rather poor name choice. There's already a neovim plugin called navi (https://github.com/mattiasbonte/navi.nvim), as well as an old unmaintained vim one (https://github.com/alexvoss/navi), not to mention slight variations like https://github.com/SmiteshP/nvim-navic or https://github.com/taohexxx/navim (the latter again looking unmaintained, but the former being relatively popular).
-
winbar below lualine buffers
Just like this? If yes, you can try lspsaga.nvim, nvim-navic, or barbecue.nvim.
-
Navigation between functions
I also use ]m, but itβs not a very good way to choose and move to functions quickly and with intention. Options include aerial.nvim, symbols-outline.nvim, and the new nvim-navbuddy, from the developer who made nvim-navic.
-
Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more!
Paired with my other plugin nvim-navic this completes the breadcrumbs experience that you would typically find in an IDEs like VScode. I hope you all like it :)
-
LuaLine : Global status line AND per window status line?
I use global status line (3) and winbar. I use Nvim-navic so that the winbar shows me my current file name highlighted also shows the path and the context.
-
Newbie Question: Can someone tell me which plugin/module this bar is coming from?
Could also be https://github.com/SmiteshP/nvim-navic
-
What are optional core plugins?
I was trying to activate some optional plugin and found out that it couldn't be enabled using the mentioned config. I checked the github repository and saw that, for example, `SmiteshP/nvim-navic` is not present there. (link to core plugins list in repo).
nvim-gps
- what plugin added the breadcrumb/context info to the winbar?
- How do I get this little tree like hierarchy of the code on the top?
-
Any way to get something like this in coc?
I've been using winbar.nvim with nvim-gps which depends on treesitter. Unfortunately it's been archived/deprecated but still works fine.
- How can I have a symbol line like this? I saw that there is symbols-outline.nvim, but it opens a sidebar.
- Plugin suggestion
-
Displaying code context using LSP is much slower than Treesitter. Maybe bring back nvim-gps?
With the deprecation of nvim-gps we are left with LSP's more accurate code context parser nvim-navic or lspsaga. I however only use LSP for like 5 languages as opposed to treesitter since it's just easier to install all language parser
-
Trying to create a LunarVim like IDE setup, called DeathVim
and nvim-navic or in this projects case it is its predecessor - nvim-gps
- Add colors to Gps-Nvim ?
-
Is there any statusline framework plugin that allows dynamic truncation of each component?
I currently use feline.nvim as a framework for creating my custom statusline, and before that I was using galaxyline.nvim. A feature that I would really like though is for each section of the statusline to able to dynamically resize based on the window size, and dissappear if the window gets narrow enough, based on some priority that I give them and some truncation rule. By truncation I mean that for instance a file path could get shortened by pathshorten(), the filetype indicator would only display the devicon and not the filetype name, nvim-gps would only use a depth of 1, etc... This behaviour would be defined by the user, but the framework would calculate which components to truncate in order to fit as many as possible in the priority that the user has chosen for each component.
-
Could this be solved currently using nvim-gps and Treesitter?
I've added a pull request to support json https://github.com/SmiteshP/nvim-gps/pull/41
What are some alternatives?
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
winbar.nvim - winbar config for neovim
nvim-treesitter-context - Show code context
barbecue.nvim - A VS Code like winbar for Neovim
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
aerial.nvim - Neovim plugin for a code outline window
twilight.nvim - π Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
neo-tree-diagnostics.nvim - A diagnostics source for neo-tree.nvim
zephyr-nvim - A dark neovim colorscheme written in lua
LunarVim - π LunarVim is an IDE layer for Neovim. Completely free and community driven.
nvim-treehopper - Region selection with hints on the AST nodes of a document powered by treesitter