Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AstroNvim v6#2822

Draft
mehalter wants to merge 25 commits intomainfrom
v6
Draft

AstroNvim v6#2822
mehalter wants to merge 25 commits intomainfrom
v6

Conversation

@mehalter
Copy link
Member

@mehalter mehalter commented Jun 6, 2025

📑 Description

This branch is simply tracking the migration to AstroNvim v6 development. Currently there isn't a big roadmap or anything. Just a place for development to happen as stuff comes up.

The draft of the v6 Migration guide can be found in the v6 Documentation Deployment Preview

Notable Changes

  • Migration to AstroLSP v4 which utilizes the native vim.lsp.config and vim.lsp.enable APIs. This is a work in progress mainly due to holding back breaking changes until probably the release of Neovim v0.12.
    • nvim-lspconfig has stopped supporting the old configuration API and mason-lspconfig has followed suit. So this is up for people to test it if they want to. It's worth checking out the AstroLSP v4 PR for notes about the changes.
  • Miration to the new main development branch of nvim-treesitter
  • Drops support for Neovim v0.10
    • Removal of Neoconf - in favor of vim.lsp.config and native neovim features
    • Removal of Comment.nvim (and ts-context-commentstring) - in favor of native commenting in Neovim v0.11+
    • Removal of nvim-ufo - in favor of native folding features that have been greatly improved in Neovim v0.11+

Required PRs

🧪 Testing

  1. In your lazy_setup.lua file (or wherever you initially add AstroNvim and import the plugins, remove any reference to version = ... and add branch = "v6" to the plugin spec

  2. Add the following specs to your plugins/ directory:

    return {
      { "AstroNvim/astrocore", version = false, branch = "v3" },
      { "AstroNvim/astrolsp", version = false, branch = "v4" },
      { "AstroNvim/astroui", version = false, branch = "v4" },
    }
  3. Update all plugins with :Lazy update and restart

@mehalter mehalter mentioned this pull request Jun 6, 2025
@mehalter mehalter force-pushed the v6 branch 2 times, most recently from 2727c53 to 69efe3f Compare June 11, 2025 20:02
@mehalter mehalter force-pushed the v6 branch 2 times, most recently from 13431de to 0744557 Compare July 21, 2025 12:38
@mehalter mehalter force-pushed the v6 branch 4 times, most recently from 5b7b016 to 1d1d6ba Compare July 26, 2025 13:46
@RizaHKhan

This comment was marked as resolved.

@mehalter

This comment was marked as resolved.

@ALameLlama

This comment was marked as off-topic.

@ALameLlama

This comment was marked as resolved.

@practicalli-johnny

This comment was marked as resolved.

@mehalter

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants