conform.nvim

Lightweight yet powerful formatter plugin for Neovim

MIT License

Downloads
119
Stars
3K
Committers
134

Bot releases are visible (Hide)

conform.nvim - v8.1.0 Latest Release

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

8.1.0 (2024-09-10)

Features

Bug Fixes

conform.nvim - v8.0.0

Published by github-actions[bot] about 2 months ago

8.0.0 (2024-08-20)

⚠ BREAKING CHANGES

  • Require Neovim 0.10+

Code Refactoring

conform.nvim - v7.1.0

Published by github-actions[bot] 2 months ago

7.1.0 (2024-08-16)

Features

Bug Fixes

  • djlint: remove default indentation arguments (#517) (38e5f06)
  • docformatter: update exit_codes, 3 is correct in in-place formatting (#518) (667102f)
  • nixfmt: update repo link and description (#505) (2122fe2)
  • sqlfluff: don't assume ansi dialect and require config (#519) (bb10949)
conform.nvim - v7.0.0

Published by github-actions[bot] 3 months ago

7.0.0 (2024-07-23)

⚠ BREAKING CHANGES

  • drop support for nvim 0.8

cleanup

  • drop support for nvim 0.8 (54ea60d)

Features

  • add sleek, a SQL formatter (#496) (8925292)
  • allow configuring conform.format() args on a per-filetype basis (3a0e9b4)
  • allow customizing format() defaults (d7de350)
  • deprecate will_fallback_lsp in favor of list_formatters_to_run (1b590cd)
  • format parameter to only run the first available formatter (0b3d259)
  • notify when no formatters available for a buffer (8c226d9)

Bug Fixes

  • crash in nvim-notify (c16c749)
  • ensure only expected options get passed through (834d42c)
  • warn user when they are attempting unsupported behavior (8b0e62b)
conform.nvim - v6.1.0

Published by github-actions[bot] 3 months ago

6.1.0 (2024-07-19)

Features

Bug Fixes

  • biome-check: use --write instead of deprecated --apply (#482) (0cdd6a7)
  • display stdout as error message if stderr is empty (#486) (310e2e9)
  • npm-groovy-lint: ignore exit code 1 (#477) (c26dadf)
  • shfmt: don't pass indentation if .editorconfig is present (#492) (acc7d93)
conform.nvim - v6.0.0

Published by github-actions[bot] 4 months ago

6.0.0 (2024-06-25)

⚠ BREAKING CHANGES

  • expand options for LSP formatting (#456)

Features

Bug Fixes

  • deprecate typstfmt formatter (#458) (6e5d476)
  • LSP fallback behavior when formatters not availble (bde3bee)
conform.nvim - v5.9.0

Published by github-actions[bot] 4 months ago

5.9.0 (2024-06-10)

Features

Bug Fixes

  • always add cwd to debug logs (44879ff)
  • dprint: add support for binary in node_modules (#422) (b1285c7)
  • format-queries: update query formatter for breaking changes in nvim-treesitter (7159a23)
  • improve error message when formatter config is missing (3f61023)
  • rustfmt: add a default cwd when config file is detected (#419) (355049b)
  • set correct file extension for unsaved buffer temp files (#440) (88b699b)
  • use vim.fs.root in neovim 0.10 (584adfe)
conform.nvim - v5.8.0

Published by github-actions[bot] 5 months ago

5.8.0 (2024-05-22)

Features

conform.nvim - v5.7.0

Published by github-actions[bot] 5 months ago

5.7.0 (2024-05-16)

Features

Bug Fixes

  • biome-check: use safe fixes (#373) (500a6ae)
  • biome: support biome.jsonc file (#394) (3cd1135)
  • handle windows line ending when config.stdin is true (#361) (820eec9)
  • isort: explicitly pass line endings (#395) (a3e3e0e)
  • lazily compute relative filepath (40faaa8)
  • mix: allow mix formatter to format different filetypes (#389) (12b3995)
  • prettierd: correctly find prettierd executable on windows (#378) (a6965ac)
  • refactor deprecated methods in neovim 0.10 (7a205c9)
  • util: new function throwing an error when the given extended value is nil (#385) (4660e53)
  • warning messages for improper async in format_on_save (#401) (59d0dd2)
  • windows: assertion failure when computing relative path (#400) (4f0cdf0)
conform.nvim - v5.6.0

Published by github-actions[bot] 7 months ago

5.6.0 (2024-03-28)

Features

Bug Fixes

  • injected: ignore indentation of final whitespace line (#340) (0a530b3)
  • terraform_fmt: do not output color escape codes (#354) (f3363ad)
  • use --force-exclude with Ruff (#348) (93f3d4c)
conform.nvim - v5.5.0

Published by github-actions[bot] 7 months ago

5.5.0 (2024-03-17)

Features

  • add formatter config option to change name of temporary file (#332) (b059626)

Bug Fixes

  • phpcbf: use non-stdin formatting and customize tempfile name (#333) (67ee225)
  • rustfmt: parse edition from Cargo.toml (#330) (a605ce4)
  • sqlfluff: remove --force flag since it's default now (#338) (42f3d8e)
conform.nvim - v5.4.0

Published by github-actions[bot] 7 months ago

5.4.0 (2024-03-13)

Features

Bug Fixes

  • add cwd to honor project php-cs-fixer (#325) (f5f8498)
  • prettier: Fix range formatting of buffer (#322) (bc93756)
  • remove call to deprecated tbl_add_reverse_lookup (5a15cc4)
  • rustfmt: use Cargo.toml settings and default to recent edition (#328) (0ff1b7d)
  • swiftformat: range formatting support and add cwd (#326) (db2c697)
conform.nvim - v5.3.0

Published by github-actions[bot] 8 months ago

5.3.0 (2024-02-20)

Features

Bug Fixes

conform.nvim - v5.2.1

Published by github-actions[bot] 9 months ago

5.2.1 (2024-01-21)

Bug Fixes

conform.nvim - v5.2.0

Published by github-actions[bot] 9 months ago

5.2.0 (2024-01-16)

Features

  • add cue_fmt formatter (#265) (03de11a)
  • Add dry_run option and report if buffer was/would be changed by formatters (#273) (e0276bb)
  • add opa_fmt formatter (#267) (a4e84d5)
  • add xmllint formatter (#259) (c50ba4b)
  • formatexpr: don't require LSP range formatting if operating on whole file (#272) (47ceff6)

Bug Fixes

  • black: formatting excluded files results in blank buffer (#254) (c4b2efb)
  • copy input parameters for will_fallback_lsp (ad347d7)
  • injected formatter works on nightly (#270) (229e9ab)
  • LSP deprecated method warning on nvim nightly (75e7c5c)
  • pass explicit bufnr to avoid race conditions (#260) (a8e3935)
  • set a cwd for djlint (#264) (0802406)
  • set a cwd for dprint (#263) (e6c1353)
conform.nvim - v5.1.0

Published by github-actions[bot] 10 months ago

5.1.0 (2023-12-26)

Features

  • add fnlfmt formatter (#247) (af6643a)
  • ConformInfo shows path to executable (#244) (fb9b050)
  • prettier: add options for configuring prettier parser based on filetype and extension (#241) (8df1bed)

Bug Fixes

  • crash in error handling (4185249)
  • formatexpr: does not fallback to the built-in formatexpr (#238) (48bc999)
  • injected: code block at end of markdown file (9245b61)
  • injected: handle inline injections (#251) (f245cca)
  • prettier: use correct prettier executable on windows (#236) (7396fc0)
  • rubocop: pass --server for faster execution (#246) (0ec6edd)
conform.nvim - v5.0.0

Published by github-actions[bot] 11 months ago

5.0.0 (2023-12-07)

⚠ BREAKING CHANGES

  • formatter config functions take self as first argument (#233)

Features

Code Refactoring

  • formatter config functions take self as first argument (#233) (659838f)
conform.nvim - v4.3.0

Published by github-actions[bot] 11 months ago

4.3.0 (2023-12-07)

Features

Bug Fixes

  • biome: perform formatting over stdin (#220) (eddd643)
  • biome: use binary from node_modules (#226) (5bf1405)
  • injected formatter adds language to file extension (#199) (e2b889e)
  • injected parser shouldn't format combined injections (#205) (eeef888)
  • invalid prettier configuration in last commit (e8ac7f1)
  • range format method for async formatters and injected (a36c68d)
  • respect excluded-files-config from typos.toml (#219) (db9da1a)
  • show more logs in ConformInfo when log level is TRACE (0963118)
  • various fixes for the injected formatter (#235) (07fcbfc)
conform.nvim - v4.2.0

Published by github-actions[bot] 12 months ago

4.2.0 (2023-11-09)

Features

Bug Fixes

conform.nvim - v4.1.0

Published by github-actions[bot] 12 months ago

4.1.0 (2023-11-05)

Features

Bug Fixes

  • formatexpr: use default formatexpr if no formatters or LSP clients (#55) (278bcd8)
  • rubyfmt: exit code 1 should not be a success (#157) (e4ecb6e)