8.3.0 (2024-12-21)
- add
prettypst
formatter (#595) (676704d) - add commitmsgfmt (#579) (b6b03cb)
- add format-dune-file (#602) (880aa37)
- add gojq (#598) (c5cdc47)
- add support for syntax_tree (#578) (8a8b158)
- add tex-fmt (#593) (d2fdcc3)
- buildifier: formatting of BUILD file (#594) (e76afe8)
- catch failure with undojoin after undo (#584) (a203480)
- elixir mix: run formatter from project root (#576) (f1125f8)
- improve error message for unknown formatters (#583) (19c7ba1)
- injected formatter works for bash (62055b4)
- prettier: respect "prettier" config field in "package.json" (#573) (1a7ff54)
- rename awk formatter to gawk (#589) (917bc56)
- runner: replace
$FILENAME
last to avoid magic char conflicts (#591) (7a3d99e) - stylelint: support ignored files, node_modules, and cwd (#577) (2e281bc)
- xmlformat: rename to xmlformatter (#572) (d23765f)
8.2.0 (2024-11-09)
- add kulala-fmt (#534) (555a5c4)
- add mojo format (#540) (9bde4fb)
- add support for kdlfmt (#543) (7b9a88c), closes #509
- add support for nginx-config-formatter (#562) (4fe4f6a)
- add support for nufmt (#551) (ee640e1)
- add support for standard-clj (#568) (7739b8e)
- add support for xmlstarlet (#558) (bb9c64f)
- allow formatters_by_ft to specify name, id, filter (#565) (d28ccf9)
- support python-ly (#549) (3686f97)
- support ufmt (#544) (8a76eef)
- crash in error handling for function formatters (#554) (51e99ef)
- deno_fmt: add support for more file extensions (#552) (6a28c90)
- health checks error for old Neovim versions (936f241)
- more notifications when Neovim is below supported version (130e0d6)
- prettierd: respect
prettier
config field in the "package.json" (#564) (ed919d3)
8.1.0 (2024-09-10)
- deno: add support for .mjs files (#528) (e82b7b1)
- zine: add superhtml and ziggy support (#531) (392fc98)
8.0.0 (2024-08-20)
- Require Neovim 0.10+
- Require Neovim 0.10+ (d31323d)
7.1.0 (2024-08-16)
- add support for cljfmt (#500) (42e10a3)
- add support for markdownfmt (#511) (960f51b)
- add variable for args to insert the file extension (#510) (0f4f299)
- 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)
7.0.0 (2024-07-23)
- drop support for nvim 0.8
- drop support for nvim 0.8 (54ea60d)
- 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)
- crash in nvim-notify (c16c749)
- ensure only expected options get passed through (834d42c)
- warn user when they are attempting unsupported behavior (8b0e62b)
6.1.0 (2024-07-19)
- add Swiftlint formatter (#484) (bf94a7c)
- add undojoin as a format option (#488) (1d1362b)
- shfmt: add automatic indentation detection (#481) (cd75be8)
- support doctoc (#489) (4f476ba)
- 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)
6.0.0 (2024-06-25)
- expand options for LSP formatting (#456)
- add support for caramel fmt (#469) (c35f52b)
- djlint: use tabstop to set indentation (#467) (ac6e142), closes #457
- expand options for LSP formatting (#456) (9228b2f)
- support brighterscript-formatter (#468) (89af7f0)
- support crlfmt (#470) (7394d49)
- support dcm fix and dcm format (#471) (b67f273)
- support docformatter (#472) (b5ae342)
- support gluon fmt (#473) (d1f9bd4)
- support grain format (#474) (d2afc5d)
- support imba fmt (#475) (6856aed)
- support nickel format (#476) (241c892)
- deprecate typstfmt formatter (#458) (6e5d476)
- LSP fallback behavior when formatters not availble (bde3bee)
5.9.0 (2024-06-10)
- add support for d2 (#445) (5e7a000)
- add support for efmt (#428) (a1d3c0a)
- add support for for vsg (#451) (cf562dd)
- add support for fprettify (#429) (7999faf)
- add support for hindent (#430) (9f46982)
- add support for kcl fmt (#431) (03a07d5)
- add support for npm-groovy-lint (#433) (8fd894c)
- add treesitter query formatter (#425) (63e0a32)
- erlang: support erlfmt (#436) (948c83b)
- formatter override can use (#453) (a28a425)
- fortran: support findent (#426) (969cdf5)
- haskell: support stylish-haskell (#435) (dc612fb)
- latex: support llf (#446) (1743ee6)
- lua: support lua-format (#432) (b421e95)
- python: support pyink (#427) (8b147ca)
- rst: support rstfmt (#434) (294bd1d)
- support docstrfmt (#441) (c841697)
- 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)
5.8.0 (2024-05-22)
- add
ruff_organize_imports
formatter (#418) (184756b) - add forge_fmt formatter support for solidity filetype (#417) (18a3fa4)
- add support for leptosfmt (#415) (b999fad)
- add support for typstyle (#412) (e47dcde)
5.7.0 (2024-05-16)
- add hcl formatter (hclfmt) (#402) (37cbcea)
- add ktfmt formatter for Kotlin (#392) (b72f650)
- add ormolu formatter for Haskell (#377) (#397) (6207f41)
- add snakefmt formatter for snakemake files (#399) (dc950e5)
- add support for bicep (#368) (588f357)
- add support for bpfmt (#405) (3c278a7)
- add support for mdsf (#380) (34d3c5f)
- add support for yew-fmt (#398) (b52d462)
- add verible formatter for SystemVerilog (#391) (fb2d35f)
- formatters can use $RELATIVE_FILEPATH in args (#349) (6dc1603)
- 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)
5.6.0 (2024-03-28)
- a formatter for SML (Standard ML) (#353) (ae6a069)
- add formatter for Inko (#351) (6874087)
- add ocp-indent for OCaml formatting (#335) (551d02f)
- add support for nimpretty (#343) (67f7fb2)
- add support for purs-tidy (#345) (bf109f0)
- add support for roc format (#342) (293236a)
- prettier, prettierd: add mjs files to supported config files (#350) (ac4a022)
- support crystal tool format (#344) (f8c64b8)
- 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)
5.5.0 (2024-03-17)
- 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)
5.4.0 (2024-03-13)
- add
gersemi
formatter (#305) (79d7fd9) - add formatter sqlfmt (#307) (015f9e9)
- add gleam formatter (#327) (2ebfcaa)
- add OpenTofu formatter (#313) (68dad93)
- add the cabal-fmt formatter (#318) (ea73026)
- formatter: add liquidsoap-prettier (#312) (dc873e9)
- 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)
5.3.0 (2024-02-20)
- add awk formatter (#286) (338c307)
- add biome-check formatter (#287) (5a71b60)
- add fantomas formatter (#302) (0d99714)
- Add reorder-python-imports formatter (#284) (9a07f60)
- add ReScript formatter (#293) (a34b66f)
- add terragrunt_hclfmt formatter (#278) (375258f)
- add twig-cs-fixer (#304) (766812b)
- add yq formatter (#288) (15c4a02)
swift_format
doesn't respect.swift-format
file (#283) (4588008)- set a cwd for biome (#282) (03feeb5)
5.2.1 (2024-01-21)
5.2.0 (2024-01-16)
- 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)
- 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)
5.1.0 (2023-12-26)
- 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)
- 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)
5.0.0 (2023-12-07)
- formatter config functions take self as first argument (#233)
4.3.0 (2023-12-07)
- add
auto-optional
(#196) (9156364) - add
typos
(#214) (d86c186) - add autocorrect (#223) (cd81d21)
- add beancount formatter (#212) (c0924a6)
- add cbfmt (#198) (aa36bc0)
- add fourmolu support (#209) (e688864)
- add jsonnetfmt (#230) (769dde8)
- add packer formatter (#202) (a0cabaa)
- add pangu (#188) (f0780e2)
- add phpinsights (#170) (5235405)
- add styler formatter for R (#184) (6afc64e)
- add support for buildifier (#216) (e478834)
- add support for sqlfluff (#213) (e8c8683)
- 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)
4.2.0 (2023-11-09)
- catch jobstart errors (#183) (dcbe650)
- injected formatter not working (#187) (68abada)
- nonzero exit code on :wq (#176) (161d95b)
- rename
astgrep
toast-grep
(#178) (bfa69a9)
4.1.0 (2023-11-05)
- add
ast-grep
(#177) (fa3cf1c) - add CSharpier (#165) (b2368ff)
- add markdownlint-cli2 (#171) (9bb3a94)
- add mdslw markdown formatter (#175) (369c7fe)
- add pretty-php (#161) (4653408)
- add puppet-lint formatter (#153) (0219648)
- add tlint (#162) (2538784)
- add usort (#167) (f7766d2)
- allow formatters_by_ft to be a function (#174) (0bbe838)
- gn build file format cmd (#155) (3716927)
- zprint formatter for clojure (#146) (2800552)
- formatexpr: use default formatexpr if no formatters or LSP clients (#55) (278bcd8)
- rubyfmt: exit code 1 should not be a success (#157) (e4ecb6e)
4.0.0 (2023-10-16)
- merge configs in conform.formatters with defaults (#140)
- add blade-formatter (#136) (f90b222)
- add blue formatter (#142) (a97ddff)
- Add config for laravel/pint (#144) (43414c8)
- add goimports-reviser (#143) (3fcebb0)
- add ktlint (#137) (8b02f47)
- add rufo support (#132) (aca5d30)
- merge configs in conform.formatters with defaults (#140) (7027ebb)
- support for rubyfmt (#139) (ae33777)
- 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)
3.10.0 (2023-10-09)
- add easy-coding-standard (#121) (e758196)
- add fixjson (#126) (280360e)
- add justfile formatter (#114) (4c91b52)
- errors do not stop formatting early (a94f686)
- expose configuration options for injected formatter (#118) (ba1ca20)
- 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)
3.9.0 (2023-10-04)
- 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)
3.8.0 (2023-10-02)
- add 'google-java-format' formatter (#99) (e887736)
- add standardrb (#91) (37d0367)
- metatable to make accessing formatters a bit easier (#89) (d8170c1)
- 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)
3.7.2 (2023-09-29)
- injected formatter hangs on empty file (671186e)
- injected formatter preserves indentation of code blocks (470d419)
- lsp format calls method from wrong util file (df69e3e)
3.7.1 (2023-09-29)
- format_after_save blocks on exit for lsp formatting (0c52ee2)
3.7.0 (2023-09-29)
- add 'JavaScript Standard Style' formatter (#82) (971fa7f)
- add darker (#80) (e359687)
- format injected languages (#83) (a5526fb)
- format_after_save autocmd blocks nvim exit until complete (388d6e2)
- only show "no formatters" warning if formatters passed in explicitly (#85) (45edf94)
3.6.0 (2023-09-27)
- add
markdown-toc
(#75) (de58b06) - Add support for php-cs-fixer (#78) (e691eca)
- add templ support (#73) (28ecd5c)
- another utility for extending formatter arguments (aada09c)
- new utility function (9e1fcd5)
3.5.0 (2023-09-22)
- add
bibtex-tidy
(#69) (f5e7f84) - add dprint (#71) (0e2c97a)
- add mdformat (#68) (4a4c927)
- add ruff formatter and improve ruff root finding (#66) (44e9e82)
3.4.1 (2023-09-19)
3.4.0 (2023-09-18)
3.3.0 (2023-09-17)
- '_' 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)
q
keymap in ConformInfo andcodespell
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)
3.2.0 (2023-09-14)
- add
markdownlint
,stylelint
,codespell
, andbiome
(#45) (580ab18) - add buf as protobuf linter (#43) (2b73887)
- add deno fmt (#46) (db7461a)
- add djlint (#47) (ead0257)
- latexindent (#42) (502a358)
- ruff (#41) (fdc4a0f)
- extra trailing newline for LSP formatters that replace entire file (e18cdaf)
3.1.0 (2023-09-13)
- format_on_save and format_after_save can be functions (dd5b2f2)
3.0.0 (2023-09-08)
- remove run_all_formatters config option
- 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)
- remove run_all_formatters config option (bd1aa02)
2.3.0 (2023-09-06)
- callback should always be called (eb3ebb6)
2.2.0 (2023-08-31)
2.1.0 (2023-08-30)
- 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)
2.0.0 (2023-08-29)
- remove ability for formatter list to disable autoformat
- can silence notification when running formatters (#7) (a4d793e)
- ConformInfo command for debugging formatter status (1fd547f)
- range formatting (cddd536)
- 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)
- remove ability for formatter list to disable autoformat (d508ae8)
1.1.0 (2023-08-28)
- first working version (eb5987e)