Skip to content

v20250625

Latest

Choose a tag to compare

@ducks ducks released this 25 Jun 15:28
· 2 commits to main since this release

Vandelay v20250625— Native Indentation Support

Added

  • Buffer-aware native indentation support

    Vandelay now respects the user's existing indentation settings in Neovim (shiftwidth and expandtab) on a per-buffer basis. No more global indent config 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.