Micro 2.0.15
Get well into 2026 and have a happy new year! 🎆
What's Changed
- tools: Revert
tgztotar.gzincross-compile.shby @JoeKar in #3446 - Allowing plugin to add cursor in custom Loc by @Neko-Box-Coder in #3441
- Raku syntax: Add .rakutest extension by @juanfra684 in #3406
- Improve Haskell syntax highlighting by @Andriamanitra in #3373
- add more css commands by @mystieneko in #3436
- Makefile: Fetch tags with
--forceby @JoeKar in #3448 - Add an OpenSCAD syntax file by @jmcorey in #3410
- Fix rust syntax file to recognize byte strings and c strings. by @jmcorey in #3452
- Add Swift shebang to syntax by @frkd-dev in #3451
- Remove empty rules in regions by @JoeKar in #3458
- Mark quick install script as third-party by @JonathanBerkeley in #3469
- Fix non-working raw escape bindings after restarting the screen by @dmaluka in #3468
- README: remove TOC in favor to GitHub's TOC by @alexandear in #3467
- Build: set 1.17 as minimum supported Go version by @alexandear in #3461
- test: simplify cmd/micro tests by @alexandear in #3470
- Improve and unify
CopyLine,CutLine,DeleteLine,DuplicateLineactions by @dmaluka in #3335 - Implemented new actions
FirstTab,LastTab,FirstSplitandLastSplitby @masmu in #3403 - Implemented
SkipMultiCursorBackas a counterpart toSkipMultiCursorby @masmu in #3404 - Makefile: Make all builds explicitly fully static (disable CGO) by @JoeKar in #3466
- tool/info-plist: decrease indentation and simplify by @alexandear in #3479
- Exposing replacement functions for deprecated IOUtil functions by @Neko-Box-Coder in #3393
- Added Syntax Highlighting for nftables-firewall config file by @theredcmdcraft in #3325
- Fix SIGINT killing micro when saving with sudo by @dmaluka in #3495
- action/command: Allow
-vsplit&-hsplitas optional argument forhelpby @JoeKar in #3502 - Revert
SpawnMultiCursor{Up,Down}honoring softwrap + overhaulLastVisualXusage by @dmaluka in #3503 - Make
textfilterwork with multicursors by @dmaluka in #3511 - Add target for Windows ARM64 in cross-compile.sh by @creeperlv in #3512
- Set version as release when there are no commits ahead by @niten94 in #3515
- add actions CursorToViewTop, CursorToViewCenter, CursorToViewBottom by @nimishjha in #3506
- Fix regression in CopyLine, CutLine, DeleteLine for last line by @dmaluka in #3519
- implement nano-like page up/page down functionality by @nimishjha in #3518
- Added support for the 'var' keyword in Java by @owencmcgrath in #3526
- Remove unused internal or unexported functions by @alexandear in #3481
- Add .cjs (common javascript) to javascript syntax definition by @med-ab in #3539
- avoid creating
nilcallback forJobSpawnby @matthias314 in #3554 - Fix unwanted view adjustment after page down by @dmaluka in #3555
- actions: Perform
Cursor(Page)Downwith selection like GUI editors do by @JoeKar in #3540 - skip save dialog on quit if buffer is shared by @matthias314 in #3559
- avoid infinite loop in
replacewhen empty string matches by @matthias314 in #3566 - make
FindNextandFindPreviouswork with empty matches by @matthias314 in #3572 - Update go-isatty to v0.0.20 by @niten94 in #3561
- plugin: Add new
onBufferOptionChangedcallback by @JoeKar in #2962 - bump gopher-lua and gopher-luar to current versions by @matthias314 in #3597
- import: Use
micro-editor/tcell(legacy) instead ofzyedidia/tcellby @JoeKar in #3593 - import: Use
micro-editor/json5instead ofzyedidia/json5by @JoeKar in #3595 - import: Use
micro-editor/go-shellquoteinstead ofzyedidia/go-shellquoteby @JoeKar in #3596 - import: Use
mattn/go-runewidthinstead ofzyedidia/go-runewidthby @JoeKar in #3601 - import: Use
micro-editor/terminalinstead ofzyedidia/terminalby @JoeKar in #3600 - Fix 2 small formatting error of default value in options.md by @antoine2711 in #3615
- ignore quoted characters when splitting keybindings into actions by @matthias314 in #3612
- Fixing settings not being applied when saving as a new file by @Neko-Box-Coder in #3625
- Prompt to save or discard new files even with autosave enabled by @yz778 in #3626
- Add missing resize in TabMove by @Neko-Box-Coder in #3619
options.md: Add, sort entries and adjust formatting by @niten94 in #3576- statusline: Provide
overwritemode indicator by @JoeKar in #3620 - docs: remove duplicated line by @usfbih8u in #3647
- plugin: linter: add ruff to default configuration by @Andriamanitra in #3657
- match beginning and end of line correctly by @matthias314 in #3575
- buffer: Fix
ReloadSettings(true)for volatilefiletypeby @JoeKar in #3662 sh.yaml: Match valid parameter expansions without braces by @niten94 in #3663- add syntax highlighting for new rust keywords and types by @edwloef in #3677
status.lua: Display commit and branch of repository where file is located by @niten94 in #3673- save: Perform write process safe by @JoeKar in #3273
- List more bindable actions in
help keybindingsby @Andriamanitra in #3685 - ReloadSettings only when we need to when saving a file by @Neko-Box-Coder in #3688
- Updating SaveCmd to use saveBufToFile instead by @Neko-Box-Coder in #3689
- syntax: asm: highlight C-like comments by @dmaluka in #3696
- doc: syntax: Add hint about incompatibilities to previous versions by @JoeKar in #3697
- gofmt cleanup by @dmaluka in #3704
- Update
micro-editor/terminaland support terminal emulator in platforms by @niten94 in #3714 - Fix comment by @cutelisp in #3716
- fix cycling through completion suggestions ending in non-word character by @Andriamanitra in #3650
- Skip save on
openortermcommand if buffer is shared by @niten94 in #3719 - Convert leftover usages of
pathtofilepathby @JoeKar in #3727 - Deleted duplicated line by @cutelisp in #3728
- Variable visibility changed by @cutelisp in #3720
- Fix unable to perform proportional resize caused by chained parents after quiting a nested VSplit inside a HSplit by @Neko-Box-Coder in #3708
- Fixed a broken colorscheme (sunny-day) due to a typo by @tautte in #3735
- command: Fix crash caused by
TermCmd()by @JoeKar in #3738 - Fix Scrollbar covering cursor by @cutelisp in #3741
- FIX: ruler drawn on top of the tab bar by @cutelisp in #3744
- Relocate buffer view after setting options that affect it by @dmaluka in #3743
- Rust currently has the keyword "union" by @codemanticism in #3759
- options: Add
truecolorto control the mode by @JoeKar in #2867 - Change MainTab calls by @cutelisp in #3750
- Fix Ruby syntax highlighting for predefined variables by @Andriamanitra in #3778
- Nftables improvements by @theredcmdcraft in #3517
- Fixing comment plugin not using user settings when overriding default setting by @Neko-Box-Coder in #3424
- Fix non-working colorscheme plugins by @dmaluka in #3761
- Pass mouse info to {on,pre}MouseXXX callbacks by @dmaluka in #3779
- Add syntax highlighting for PRQL by @vanillajonathan in #3313
- Add buffer name for
rawpane event viewer by @blamedrop in #3791 - Enhance GetNativeValue by @cutelisp in #3785
- Some documentation improvements by @dmaluka in #3799
- Changing syntax behavior for single quote to allow binary and hex literal separator by @Neko-Box-Coder in #3310
- Adding missing file closes by @Neko-Box-Coder in #3807
- Small Documentation Improvement by @cutelisp in #3786
- Documentation Fix by @cutelisp in #3818
- Fix spurious backups of unmodified files by @dmaluka in #3822
- Add syntax highlighting for meson build system by @asakovets in #3236
- save: Use
ddwith thenotrunc&fsyncand postpone truncation by @JoeKar in #3814 - Fix variable expansion regex in fish syntax by @remisalmon in #3830
- Update man page + change
[FILE]:LINE:COLtoFILE[:LINE:COL]inmicro -helpby @dmaluka in #3812 - fix shell highlighting for variables with leading underscore by @Andriamanitra in #3833
- Adding the ability to differentiate builtin plugins when listing by @Neko-Box-Coder in #3810
- refactor: use a more modern writing style to simplify code by @deepdring in #3834
- make arduino filetype detection less aggressive by @Andriamanitra in #3848
- syntax: Revert removal of
rules: []by @JoeKar in #3846 - Fix highlighting for
autoin C++ by @2013ZRZ in #3836 - micro: Handle +/text search text from args by @luca020400 in #3767
- Add toggle & togglelocal command by @cutelisp in #3783
- Adding indenttabchar, indentspacechar and spacechar options by @Neko-Box-Coder in #3760
- Adding comment support for typescript by @Neko-Box-Coder in #3857
- Reordering triple quotes string to be evaluated first for groovy syntax by @Neko-Box-Coder in #3858
- README: Use
v2for the Go Report Card by @JoeKar in #3835 - Disable sudo save prompt on Windows by @niten94 in #3866
- fix c++ highlighting for binary literal with digit separator and suffix by @Andriamanitra in #3870
- backup+util: Prevent too long backup file names with hashing + resolve file by @JoeKar in #3806
- Fixing regression introduced by #3310 with missing word boundary by @Neko-Box-Coder in #3891
- Added linting support for ldc2 and gdc compilers by @kodesettings in #3892
- Update Tcell to v2.0.13 by @niten94 in #3895
- Include --options-with-hyphens in statement regex by @nabeelsherazi in #3863
- Removing the ability for plugins to modify settings.json and bindings.json. Adding an option to reject plugins to bind keys. by @Neko-Box-Coder in #3618
- quick fix for #3700 by @matthias314 in #3914
- fix drawing of wide characters in InfoWindow by @Andriamanitra in #3919
- Only set buffer type to stdout when no file args are passed by @AndydeCleyre in #3910
- Adding clarification regarding multiple characters for showchars by @Neko-Box-Coder in #3945
New Contributors
- @mystieneko made their first contribution in #3436
- @jmcorey made their first contribution in #3410
- @frkd-dev made their first contribution in #3451
- @JonathanBerkeley made their first contribution in #3469
- @alexandear made their first contribution in #3467
- @theredcmdcraft made their first contribution in #3325
- @creeperlv made their first contribution in #3512
- @nimishjha made their first contribution in #3506
- @owencmcgrath made their first contribution in #3526
- @med-ab made their first contribution in #3539
- @antoine2711 made their first contribution in #3615
- @yz778 made their first contribution in #3626
- @usfbih8u made their first contribution in #3647
- @edwloef made their first contribution in #3677
- @cutelisp made their first contribution in #3716
- @tautte made their first contribution in #3735
- @codemanticism made their first contribution in #3759
- @vanillajonathan made their first contribution in #3313
- @blamedrop made their first contribution in #3791
- @asakovets made their first contribution in #3236
- @remisalmon made their first contribution in #3830
- @deepdring made their first contribution in #3834
- @2013ZRZ made their first contribution in #3836
- @luca020400 made their first contribution in #3767
- @kodesettings made their first contribution in #3892
- @nabeelsherazi made their first contribution in #3863
Full Changelog: v2.0.14...v2.0.15