Releases: sQVe/sort.nvim
Releases · sQVe/sort.nvim
Release v2.2.0
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
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
Fixed
- Corrected natural sorting priority for punctuation characters. Shell aliases like
@l
now properly sort before text identifiers likeA
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
Added
- Enhanced natural sorting with punctuation priority. Identifiers with punctuation (like
A=
,func()
) now sort before identifiers with numeric suffixes (likeA1
,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
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
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.