aerial.nvim
nvim-treesitter
Our great sponsors
aerial.nvim | nvim-treesitter | |
---|---|---|
34 | 300 | |
1,409 | 9,225 | |
- | 6.0% | |
8.7 | 9.9 | |
5 days ago | 1 day ago | |
Lua | Scheme | |
MIT License | 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.
aerial.nvim
-
What's this type of plugin called? (it shows the structure of code)
I tried aerial.nvim the other day and it's pretty cool. Haven't tried lspsaga yet so I'm not sure if it fits the same purpose.
-
Configuration passed to plugin's setup is not persistent
I am using aerial found here and I really like it except that when I press a function, it doesn't close the window. And I had thought I fixed it with
-
How do you jump to the beginning of a function
I use https://github.com/stevearc/aerial.nvim, it knows which is the current function. I currently open the telescope display and just press "enter", but AerialPrev would work just as well.
-
Please inform me of the plugin(s) enabling these two features
First one could be lualine and Aerial.
-
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.
- Neovim task-focused interface
-
AstroNvim/AstroNvim: AstroNvim is an aesthetic and feature-rich Neovim config
AstroNvim is using aerial.nvim which is a great code outline plugin. It has several supported backends on top of LSP and Treesitter it also supports Man page structure and Markdown structure explicitly. We also use the API for building the breadcrumbs at the top of each window as well!
- How do I get this little tree like hierarchy of the code on the top?
-
Can't find plugin that shows all functions on the right
You might want aerial.nvim
-
Can i show this in NvimTree ?
I use aerial.nvim for this, though I have been debating making an extension for Neo-tree to do this
nvim-treesitter
-
JetBrains' unremovable AI assistant meets irresistible outcry
I suggest looking for blog posts about this, you're gunnuh wanna pick out a plugin manager and stuff. It's kind of like a package manager for neovim. You can install everything manually but usually you manually install a plugin manager and it gives you commands to manage the rest of your plugins.
These two plugins are the bare minimum in my view.
https://github.com/nvim-treesitter/nvim-treesitter
Treesitter gives you much better syntax highlighting based on a parser for a given language.
https://github.com/neovim/nvim-lspconfig
This plugin helps you connect to a given language LSP quickly with sensible defaults. You more or less pick your language from here and copy paste a snippet, and then install the relevant LSP:
https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...
For Python you'll want pylsp. For JavaScript it will depend on what frontend framework you're using, I probably can't help you there.
pylsp itself takes some plugins and you'll probably want them. https://github.com/python-lsp/python-lsp-server
Best of luck! Happy hacking.
-
Do I need NeoVIM?
https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.
- Problem with highlighting when attempting to create own treesitter parser
-
neorg problem, all other plugins deactivate when added to init.lua
vim.opt.rtp:prepend(lazypath) require('lazy').setup({ { "nvim-neorg/neorg", build = ":Neorg sync-parsers", opts = { load = { ["core.defaults"] = {}, -- Loads default behaviour ["core.concealer"] = {}, -- Adds pretty icons to your documents ["core.dirman"] = { -- Manages Neorg workspaces config = { workspaces = { notes = "~/notes", }, defaultworkspace = "notes", }, }, }, }, dependencies = { { "nvim-lua/plenary.nvim", }, { -- YOU ALMOST CERTAINLY WANT A MORE ROBUST nvim-treesitter SETUP -- see https://github.com/nvim-treesitter/nvim-treesitter "nvim-treesitter/nvim-treesitter", opts = { auto_install = true, highlight = { enable = true, additional_vim_regex_highlighting = false, }, }, config = function(,opts) require('nvim-treesitter.configs').setup(opts) end }, { "folke/tokyonight.nvim", config=function(,) vim.cmd.colorscheme "tokyonight-storm" end,}, }, }, }) require 'plugins' ```
- What is this color scheme
-
How do you fix inconsistent colorscheme (struct and class)?
Install nvim-treesitter
-
tree-sitter-comment now supports http/s links
To use it, just update to the latest version of nvim-treesitter, and don't forget to run `:TSUpdate` and have the comment parser installed.
-
Plugin for Automatic Highlight of Custom (typedef-d) Types?
If you are using Neovim, Tree-sitter does this very well for quite a number of languages, inc C and C++. https://github.com/nvim-treesitter/nvim-treesitter
-
[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
-
How do I show Markdown headings in different colours?
Are you using tree sitter? If so support for this was merged relatively recently https://github.com/nvim-treesitter/nvim-treesitter/pull/4798
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
nvim-lspconfig - Quickstart configs for Nvim LSP
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
vim-polyglot - A solid language pack for Vim.
vim-python-pep8-indent - A nicer Python indentation style for vim.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
tree-sitter - An incremental parsing system for programming tools
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
nvim-autopairs - autopairs for neovim written in lua
indent-blankline.nvim - Indent guides for Neovim
semshi - π Semantic Highlighting for Python in Neovim
minimap.vim - π‘ Blazing fast minimap / scrollbar for vim, powered by code-minimap written in Rust.