Vandelay v20250625— Native Indentation Support
Added
-
Buffer-aware native indentation support
Vandelay now respects the user's existing indentation settings in Neovim (
shiftwidthandexpandtab) on a per-buffer basis. No more globalindentconfig required. Formatting will automatically match the current file's indentation style. -
Alphabetization option
Named imports can now be automatically alphabetized before expanding.
This is controlled via new config option:require('vandelay').setup({ alphabetize = true, -- default true })
-
Per-language formatter separation
Internal refactor: formatters are now organized into language-specific modules, improving maintainability and future language support.
Fixed
Multi-line formatting correctly splits string output into line arrays before inserting into buffers,
avoiding replacement string contains newlines errors.
Test suite now properly simulates real-world shiftwidth settings for reliable CI coverage.