conform.nvim

Lightweight yet powerful formatter plugin for Neovim

MIT License

Downloads
119
Stars
3K
Committers
134

Bot releases are visible (Hide)

conform.nvim - v4.0.0

Published by github-actions[bot] about 1 year ago

4.0.0 (2023-10-16)

⚠ BREAKING CHANGES

  • merge configs in conform.formatters with defaults (#140)

Features

Bug Fixes

  • prevent format-after-save autocmd from running on invalid buffers (80f2f70)
  • prevent format-on-save autocmd from running on invalid buffers (#128) (69ee0bf)
  • shellcheck: support filenames with spaces (#135) (64a8956)
conform.nvim - v3.10.0

Published by github-actions[bot] about 1 year ago

3.10.0 (2023-10-09)

Features

Bug Fixes

  • biome: do not use stdin due to biome bug (#120) (e5ed063)
  • catch and fix more cases of bad-behaving LSP formatters (#119) (9bd1690)
  • handle one failure mode with range formatting (#123) (b5a2da9)
  • injected formatter handles markdown code blocks in blockquotes (#117) (0bffab5)
  • move justfile formatter to correct directory (8217144)
conform.nvim - v3.9.0

Published by github-actions[bot] about 1 year ago

3.9.0 (2023-10-04)

Features

Bug Fixes

  • format on save autocmds ignore nonstandard buffers (cb87cab)
  • injected formatter silent failure on nvim nightly (#100) (0156beb)
  • phpcbf invalid stdin-path arguments (#108) (ce427b0)
  • support for mix format (#107) (6836930)
conform.nvim - v3.8.0

Published by github-actions[bot] about 1 year ago

3.8.0 (2023-10-02)

Features

  • add 'google-java-format' formatter (#99) (e887736)
  • add standardrb (#91) (37d0367)
  • metatable to make accessing formatters a bit easier (#89) (d8170c1)

Bug Fixes

  • alternations follow notification rules (3f89275)
  • error handling for injected formatter (f7b82fb)
  • injected formatter doesn't have interruption errors (af3d59d)
  • injected formatter operates on input lines (501319e)
conform.nvim - v3.7.2

Published by github-actions[bot] about 1 year ago

3.7.2 (2023-09-29)

Bug Fixes

  • injected formatter hangs on empty file (671186e)
  • injected formatter preserves indentation of code blocks (470d419)
  • lsp format calls method from wrong util file (df69e3e)
conform.nvim - v3.7.1

Published by github-actions[bot] about 1 year ago

3.7.1 (2023-09-29)

Bug Fixes

  • format_after_save blocks on exit for lsp formatting (0c52ee2)
conform.nvim - v3.7.0

Published by github-actions[bot] about 1 year ago

3.7.0 (2023-09-29)

Features

Bug Fixes

  • format_after_save autocmd blocks nvim exit until complete (388d6e2)
  • only show "no formatters" warning if formatters passed in explicitly (#85) (45edf94)
conform.nvim - v3.6.0

Published by github-actions[bot] about 1 year ago

3.6.0 (2023-09-27)

Features

Bug Fixes

  • rubocop succeeds even if some errors are not autocorrected (#74) (34daf23)
conform.nvim - v3.5.0

Published by github-actions[bot] about 1 year ago

3.5.0 (2023-09-22)

Features

Bug Fixes

  • stylelint and markdownlint when there are non-autofixable errors (#70) (5454fb5)
conform.nvim - v3.4.1

Published by github-actions[bot] about 1 year ago

3.4.1 (2023-09-19)

Bug Fixes

  • range formatting for LSP formatters (#63) (52280f0)
conform.nvim - v3.4.0

Published by github-actions[bot] about 1 year ago

3.4.0 (2023-09-18)

Features

conform.nvim - v3.3.0

Published by github-actions[bot] about 1 year ago

3.3.0 (2023-09-17)

Features

  • '_' filetype to define fallback formatters (a589750)
  • add GNU/BSD indent (#54) (5abf6c2)
  • Add rustywind formatter (#56) (a839ed1)
  • add shellcheck (#44) (508ec8a)
  • alejandra formatter (#52) (e6552b5)
  • allow running commands in a shell (#49) (fbb18a5)
  • format_on_save functions can return a callback as the second value (1a568c6)
  • provide a formatexpr (#55) (aa38b05)
  • utility function to extend the built-in formatter args (#50) (cb5f939)

Bug Fixes

  • q keymap in ConformInfo and codespell exit codes (#53) (d3fe431)
  • ConformInfo shows available LSP formatters (3aa2fd5)
  • LSP formatter respects quiet = true (5e4d258)
  • unify timeout error message format with LSP (0d963f8)
  • use non-deprecated health report functions if available (#48) (b436902)
conform.nvim - v3.2.0

Published by github-actions[bot] about 1 year ago

3.2.0 (2023-09-14)

Features

Bug Fixes

  • extra trailing newline for LSP formatters that replace entire file (e18cdaf)
conform.nvim - v3.1.0

Published by github-actions[bot] about 1 year ago

3.1.0 (2023-09-13)

Features

  • format_on_save and format_after_save can be functions (dd5b2f2)

Bug Fixes

  • modify diff calculation to handle end-of-file newlines better (#35) (00a5288)
conform.nvim - v3.0.0

Published by github-actions[bot] about 1 year ago

3.0.0 (2023-09-08)

⚠ BREAKING CHANGES

  • remove run_all_formatters config option

Features

  • add beautysh, taplo, trim_newlines and trim_whitespace (#29) (37a2d65)
  • format() can always fall back to LSP formatting (c3028b3)
  • syntax for using first available formatter (2568d74)

Code Refactoring

  • remove run_all_formatters config option (bd1aa02)
conform.nvim - v2.3.0

Published by github-actions[bot] about 1 year ago

2.3.0 (2023-09-06)

Features

  • format() takes an optional callback (#21) (3f34f2d)

Bug Fixes

  • callback should always be called (eb3ebb6)
conform.nvim - v2.2.0

Published by github-actions[bot] about 1 year ago

2.2.0 (2023-08-31)

Features

  • apply changes as text edits using LSP utils (#18) (92393f0)
conform.nvim - v2.1.0

Published by github-actions[bot] about 1 year ago

2.1.0 (2023-08-30)

Features

  • add golines (#11) (e1d68a5)
  • add perlimports (#13) (e6e99af)
  • add perltidy (#12) (882b759)
  • add shellharden (#14) (863fb46)
  • add support for environment variables (#8) (03a37f1)
  • display last few lines of the log file in :ConformInfo (c9327f2)
  • formatter config function is passed the buffer number (#9) (8b2a574)
  • notify when formatter errors, and add notify_on_error config option (#16) (08dc913)

Bug Fixes

conform.nvim - v2.0.0

Published by github-actions[bot] about 1 year ago

2.0.0 (2023-08-29)

⚠ BREAKING CHANGES

  • remove ability for formatter list to disable autoformat

Features

  • can silence notification when running formatters (#7) (a4d793e)
  • ConformInfo command for debugging formatter status (1fd547f)
  • range formatting (cddd536)

Bug Fixes

  • don't show 'no formatters' warning if none configured (9376d37)
  • keep window position stable when LSP formatting (90e8a8d)
  • remove unnecessary notify (6082883)
  • stable ordering when specifying multiple formatters (69c4495)

Code Refactoring

  • remove ability for formatter list to disable autoformat (d508ae8)
conform.nvim - v1.1.0

Published by github-actions[bot] about 1 year ago

1.1.0 (2023-08-28)

Features

Bug Fixes

  • gracefully handle another timeout case (500d24d)
  • no need to save/restore window view (5bc69d5)