Repository navigation
v3.0.0
micropython.nvim v3 is a rewrite around one :MP command, mpremote and uv. It has breaking changes: see Migrating from v2 in the README.
Highlights
- One
:MPcommand with tab completion for every subcommand, and:checkhealth micropython_nvimwith install hints (#13) - Works without snacks.nvim: built-in terminal and
vim.ui.selectfallbacks; snacks.nvim is optional (#13) - Reliable uploads: nested folders upload correctly (#11), project paths are kept on the device, unchanged files are skipped, and optional upload on save (#14)
- Device file browser: open, edit and save device files as
mp://buffers (#15) - Persistent REPL split: send the line, selection or buffer, and interrupt running code (#16)
- Device tools:
:MP info(firmware, board, storage, clock) and:MP miplibrary installs (#17) - Board detection and stubs:
:MP initsuggests stubs for the connected board and sets up pyright;:MP installinstalls them intotypings/(#18) - Firmware flashing with mpflash:
:MP flashwith a version picker (#19) :MP runand:MP run_maingo through the REPL when it holds the port (#20)typings/andpyrightconfig.jsonare never uploaded to the device (#32)- A demo project and full manual test suite for real hardware in
demo/(#33)
Breaking changes
- The
:MPxxxcommands are gone; use:MP <subcommand> .ampyfiles are no longer read; the port lives in.micropython- The
baudoption andBAUD=in.micropythonare removed :MP run_mainruns your localmain.pyinstead of the device's copy (use:MP resetto run the device's):MP uploadkeeps project paths:lib/led.pygoes to:lib/led.py, not the device root- toggleterm.nvim and dressing.nvim are no longer used
initialise()is replaced bysetup(), and the legacy helpers inmicropython_nvim.utilsare removed
See the README's migration guide for the full list.
Full Changelog: v2.0.0...v3.0.0