aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
AgeCommit message (Collapse)Author
2024-03-18feat: add support for nimpretty (#343)Mads Hougesen
* feat: add support for nimpretty * fix: add formatter type
2024-03-18feat: add support for roc format (#342)Mads Hougesen
2024-03-18feat: add ocp-indent for OCaml formatting (#335)Nick Hu
2024-03-17fix(injected): ignore indentation of final whitespace line (#340)Steven Arcangeli
2024-03-17fix(sqlfluff): remove --force flag since it's default now (#338)Pedro Ferrari
2024-03-15fix(phpcbf): use non-stdin formatting and customize tempfile name (#333)Steven Arcangeli
prev-branch: stevearc-tmpfile-1
2024-03-15feat: add formatter config option to change name of temporary file (#332)Steven Arcangeli
2024-03-14fix(rustfmt): parse edition from Cargo.toml (#330)Steven Arcangeli
2024-03-13fix(rustfmt): use Cargo.toml settings and default to recent edition (#328)Steven Arcangeli
2024-03-11fix(swiftformat): range formatting support and add cwd (#326)Wojciech Kulik
2024-03-11fix(prettier): Fix range formatting of buffer (#322)Andreas Schneider
Currently we provide a filename, which means prettier will format the given file and not what we feed via stdin.
2024-03-11fix: add cwd to honor project php-cs-fixer (#325)Zack Teska
2024-03-11feat: add gleam formatter (#327)Louis Michalak
2024-03-07fix: remove call to deprecated tbl_add_reverse_lookupSteven Arcangeli
2024-03-02feat: add the cabal-fmt formatter (#318)Sebastian Selander
2024-03-01lint: remove unused importSteven Arcangeli
2024-03-01cleanup: remove backwards compatability shimSteven Arcangeli
2024-03-01feat(formatter): add liquidsoap-prettier (#312)gwen
2024-02-29feat: add OpenTofu formatter (#313)Hussein Al Abry
2024-02-22feat: add formatter sqlfmt (#307)Mattias Sjödin
2024-02-21feat: add `gersemi` formatter (#305)karei
* Add `formatters/gersemi.lua` * Add `gersemi` to README.md
2024-02-20feat: add twig-cs-fixer (#304)Frederik Buchlák
2024-02-19feat: add fantomas formatter (#302)Jinjun Liang
* feat: add fantomas formatter * fantomas: + args * fantomas: + stdin = false
2024-02-12feat: add ReScript formatter (#293)Angelo Fallaria
2024-02-02feat: Add reorder-python-imports formatter (#284)pmav99
2024-02-02feat: add awk formatter (#286)Trevor Arjeski
Add formatter for awk programs. Surprise! It's awk!
2024-02-02feat: add biome-check formatter (#287)Andrew Kogut
`biome` formatter uses `biome format` command which applies formatting but doesn't apply lint autofixes. Couldn't find a better way then to create another formatter that uses `biome check", --apply-unsafe`
2024-02-02feat: add yq formatter (#288)Frederik Buchlák
2024-01-28fix: `swift_format` doesn't respect `.swift-format` file (#283)Hao Song
`swift-format` won't pick up `.swift-format` config file in stdin mode. We need to set `stdin = false` and `--in-place` to make it work with `conform.nvim`. [apple/swift-format/README.md](https://github.com/apple/swift-format/blob/e312ede68bd8549381f9e2edfef7e6c176e9a50e/README.md#L129-L131) > * `-i/--in-place`: Overwrites the input files when formatting instead of printing the results to standard output. _No backup of the original file is made before it is overwritten._ Fix https://github.com/stevearc/conform.nvim/issues/211
2024-01-28fix: set a cwd for biome (#282)Azzam S.A
2024-01-24feat: add terragrunt_hclfmt formatter (#278)Zoltán Reegn
2024-01-21fix: handle windows line endings (#274)Steven Arcangeli
2024-01-15feat: Add dry_run option and report if buffer was/would be changed by ↵Bronson Jordan
formatters (#273) * feat: add dry_run option and pass return values for if buffer would be modified * fix: implement dry_run for blocking calls to lsp formatter * refactor: change `changed` variable to `did_edit` * docs: Update README * fix: address PR comments * fix: small cleanups --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-01-08fix: LSP deprecated method warning on nvim nightlySteven Arcangeli
2024-01-08fix: injected formatter works on nightly (#270)Steven Arcangeli
2024-01-08feat(formatexpr): don't require LSP range formatting if operating on whole ↵Nuno David
file (#272) solves: https://github.com/stevearc/conform.nvim/issues/271
2024-01-06fix: copy input parameters for will_fallback_lspSteven Arcangeli
2024-01-06fix: pass explicit bufnr to avoid race conditions (#260)Steven Arcangeli
2024-01-06feat: add opa_fmt formatter (#267)Hoang Nguyen
2024-01-05feat: add cue_fmt formatter (#265)Hoang Nguyen
2024-01-05fix: set a cwd for djlint (#264)Azzam S.A
2024-01-05fix: set a cwd for dprint (#263)Azzam S.A
2024-01-02Fix(black): formatting excluded files results in blank buffer (#254)Eric Bartels
* Fix(black): formatting excluded files results in blank buffer (#249) * Fixed stylua formatting * Fixed more stylua formatting * Log buffer name and change from trace to warning * Test fix: set_formatter_output funtion was moved out of test_util * Avoid blank output triggering errors in fuzzer tests
2024-01-02feat: add xmllint formatter (#259)chefe
* feat: add xmllint formatter * doc: shorten xmllint description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2023-12-26docs: autogenerate formatter options docs (#234)Steven Arcangeli
2023-12-26refactor(injected): use included_regions instead of private methods (#253)Steven Arcangeli
2023-12-26fix(injected): code block at end of markdown fileSteven Arcangeli
2023-12-26fix(injected): handle inline injections (#251)Steven Arcangeli
2023-12-24fix(prettier): use correct prettier executable on windows (#236)Steven Arcangeli
2023-12-23fix: crash in error handlingSteven Arcangeli