Skip to content

Releases: sQVe/sort.nvim

Release v2.2.0

25 Aug 11:32
f114fad
Compare
Choose a tag to compare

Added

  • Added ignore_case configuration option to set default case sensitivity for all sorting operations. When enabled, all sorts are case-insensitive by default.
  • Enhanced release script with automation support. The release script now supports CI environments, dry-run mode, and improved validation for streamlined releases.

Changed

  • Enhanced error handling and validation across core modules for improved stability.
  • Updated test infrastructure to use minimal_init.lua for better test isolation and reliability.

Fixed

  • Corrected natural sorting algorithm that was incorrectly placing numbers after text. Removed priority system that was pushing numbers to bottom of sort order (#14).

Release v2.1.2

30 Jul 20:50
7d70ef9
Compare
Choose a tag to compare

Fixed

  • Preserve trailing delimiters instead of moving to beginning. This resolves an issue where trailing delimiters (like commas at the end of lists) were incorrectly repositioned to the start of sorted content.

Release v2.1.1

12 Jul 07:12
b615439
Compare
Choose a tag to compare

Fixed

  • Corrected natural sorting priority for punctuation characters. Shell aliases like @l now properly sort before text identifiers like A when using natural sorting. This resolves an inconsistency where punctuation-prefixed identifiers were appearing after text identifiers instead of before them.

Release v2.1.0

11 Jul 21:08
d628c9c
Compare
Choose a tag to compare

Added

  • Enhanced natural sorting with punctuation priority. Identifiers with punctuation (like A=, func()) now sort before identifiers with numeric suffixes (like A1, func2) when using natural sorting (z flag). This makes sorting more intuitive for shell aliases, CSS selectors, function definitions, and other programming content. Resolves #11.

Release v2.0.1

10 Jul 14:02
1e4e2bf
Compare
Choose a tag to compare

Fixed

  • Multi-line character motions with text objects (e.g., goi{) now preserve whitespace correctly by treating "perfect lines" selections as line motions (#10).

Release v2.0.0

09 Jul 23:14
14f94ab
Compare
Choose a tag to compare

Added

  • Visual block sorting support.
  • Natural sorting functionality (alphanumeric sorting).
  • Motion operations with natural sorting enabled by default.
  • Dot-repeat support for sorting operations.
  • Comprehensive testing infrastructure with busted framework.
  • New feature modules for enhanced functionality.
  • Support for keeping leading and trailing delimiters.

Changed

  • BREAKING: Refactored core sorting functionality and configuration.
  • BREAKING: Enhanced line sorting with new internal API.
  • Removed unused functions and eliminated redundancy.
  • Enhanced README documentation with detailed explanations.
  • Changed number types from number to integer for better type safety.
  • Removed Node.js dependencies in favor of Lua-based tooling.
  • Updated stylua configuration.
  • Added motion mapping task to roadmap.
  • Updated README with enhanced documentation and explanations.
  • Added dot-repeat support documentation.
  • Improved README readability.

Fixed

  • Visual line selection sorting issues.
  • Column boundary handling when setting text (retry if col end out of bounds).
  • Restored functions required by tests.