Skip to content

o 2.55.1

Compare
Choose a tag to compare
@xyproto xyproto released this 01 Aug 23:07
· 2073 commits to main since this release

Fixes

  • Fix the detection for if data is piped in via stdin at start.
  • Fix the man page detection.
  • Fix a race issue that was discovered with the -race flag in Go.

Rendering and performance

  • Redraw after pressing Esc at the ctrl-o menu.
  • Align some struct fields for decreased memory use.
  • Improve the performance of how quickly text is drawn to the screen.

New functionality

  • Make it possible to quickly press any four arrow keys to get the quick prompt where commands can be typed. wq saves and quits. !sort sorts the current block of text with the external program sort (inspired by ViM). External commands will time out after 10 seconds.
  • When o is used for viewing man pages (with MANPAGER=o), then just exit if Esc is pressed.
  • Make it possible to insert a timestamp (and not just the date) via the ctrl-o menu.

The GUI front-end

  • Fix an issue where the editor did not register the correct terminal size at start.
  • Use the default theme on OpenBSD as well.

Themes

  • Improve the Blue Edit theme for dark backgrounds.
  • Minor changes to the Red & Black theme.

Syntax highlighting

  • Improve syntax highlighting for shell scripts.
  • Highlight self when editing Python code.
  • Improve the CMake syntax highlighting.
  • Improve the Markdown syntax highlighting for lists of links.
  • Improve the syntax highlighting for Haskell, OCaml and Standard ML.
  • Improve how multi-line comments are highlighted.
  • Add initial support for syntax highlighting Elm code.

Templates and content detection

  • Add templates for OCaml, Elm and for Go test files (*_test.*).
  • Improve the ViM script detection.

General

  • Improve a couple of the error messages.
  • Update dependencies.
  • Update documentation.