AstroNvim使用指南

如何xxx

#type / howto #status / evergreen #resource / astro-nvim

[!info] related notes astro-nvim-command-cheatsheet

AstroNvim使用指南

[!info] related notes

Getting Started

语言支持

Neovim中的包管理器“Mason” mason-usage language-server-protocol-lsp

:LspInstall pyright

:TSInstall python

:DapInstall python

教程中有如上方式安装语言支持,但是这种方式的话,只能在当前的环境中,也就是在这个计算机中有效。这不方便我们在新的环境中立刻恢复。因此推荐使用编辑 nvim/lua/plugins/mason.lua 文件来配置。

  • Run :AstroUpdate (<Leader>pa) to update both Neovim plugins and Mason packages
  • Run :AstroVersion to display the currently installed AstroNvim version
  • Run :AstroReload to reload the AstroNvim configuration and any new user configuration changes without restarting. This is currently an experimental feature and may lead to instability until the next restart.
创建于 2026/1/25 更新于 2026/5/27