aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
AgeCommit message (Collapse)Author
2024-01-08fix: injected formatter works on nightly (#270)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-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-11feat: add fnlfmt formatter (#247)Marcin Puc
2023-12-11fix(rubocop): pass --server for faster execution (#246)Paweł Gościcki
This ensures a much quicker execution on 2nd and any subsequent run. Otherwise there's always a 1-3 seconds delay before formatting is being applied (as rubocop is not that quick). From rubocop's documentation: ``` --server If a server process has not been started yet, start the server process and execute inspection with server. ```
2023-12-09feat(prettier): add `options` for configuring prettier parser based on ↵Micah Halter
filetype and extension (#241)
2023-12-07feat: add joker for clojure formatting (#240)Zoltán Reegn
2023-12-07feat: add asmfmt (#239)Xun
2023-12-06refactor!: formatter config functions take self as first argument (#233)Steven Arcangeli
This is a breaking API change, but there is a shim in place that will keep existing functions working, just with a warning notification. Most people should not encounter this at all. For anyone overriding a formatter config value with a function that takes `(ctx)` as the parameter, it will need to be updated to take `(self, ctx)`.
2023-12-06fix: various fixes for the `injected` formatter (#235)Micah Halter
* fix: load temp buffer once created to load the context for formatters * fix: use `_injection_query` to decide if the `injection` formatter is valid
2023-12-04feat: add jsonnetfmt (#230)Daniel
* feat: add jsonnetfmt * fix: use stdin * docs: adjust name * docs: adjust url
2023-12-03fix(biome): use binary from node_modules (#226)Francesco Pasqua
* chore: remove $FILENAME from standardjs config * fix(biome): use first local executable over global
2023-12-03feat: add autocorrect (#223)z775729168
2023-12-01fix: invalid prettier configuration in last commitSteven Arcangeli
2023-11-29ci: workflow automationSteven Arcangeli
2023-11-27fix(biome): perform formatting over stdin (#220)pseudometa
With the release of v1.4.0, biome now supports the arguments needed for formatting via stdin/stdout. If you are using an older version of biome, you can override the formatter configuration to use the previous settings.
2023-11-27feat: add support for sqlfluff (#213)Frederik Buchlák
2023-11-27fix: respect excluded-files-config from `typos.toml` (#219)pseudometa
2023-11-25feat: add support for buildifier (#216)Damien Deville
2023-11-23feat: add `typos` (#214)pseudometa
2023-11-21feat: add beancount formatter (#212)Varac
* feat: add beancount formatter * lint: remove unused require --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2023-11-20feat: add fourmolu support (#209)KorigamiK
2023-11-18fix: range format method for async formatters and injectedSteven Arcangeli
2023-11-18fix: injected parser shouldn't format combined injections (#205)Steven Arcangeli
2023-11-17chore: remove $FILENAME from standardjs config (#206)Francesco Pasqua
2023-11-15feat: add packer formatter (#202)Marco Pas
2023-11-15fix: injected formatter adds language to file extension (#199)Steven Arcangeli
2023-11-14doc: normalize the formatting of formatter descriptionsSteven Arcangeli
2023-11-14feat: add cbfmt (#198)Govind Singh Rajpurohit
* feat: add cbfmt * lint: fix style --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2023-11-11feat: add phpinsights (#170)Frederik Buchlák
* feat: add phpinsights * doc: remove redundant mention of formatting in description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2023-11-11feat: add `auto-optional` (#196)Filip Godlewski
* feat: add `auto-optional` * doc: add period at end of description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2023-11-10feat: add styler formatter for R (#184)John Coene
* feat: add styler formatter for R * fix: do not run --vanilla to pick up options * docs: add to README * fix: std in false * fix: do not hardcode style, use config file * fix: lint styler formatter
2023-11-09feat: add pangu (#188)z775729168
2023-11-09fix: injected formatter not working (#187)Steven Arcangeli
2023-11-06feat: add typstfmt (#180)Håkon Harnes
2023-11-05fix: rename `astgrep` to `ast-grep` (#178)pseudometa
2023-11-05feat: add `ast-grep` (#177)pseudometa
2023-11-04feat: allow formatters_by_ft to be a function (#174)Steven Arcangeli
2023-11-03feat: add mdslw markdown formatter (#175)Torsten Long
* feat: add mdslw markdown formatter * lint: remove unused import --------- Co-authored-by: Torsten Long <torsten.s.long@gmail.com> Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2023-10-31feat: add markdownlint-cli2 (#171)George Guimarães
cli2 is a better cli for markdownlint. It allows to have config files in different directories, and it's also from the same author as the original node.js markdownlint lib.
2023-10-30feat: add usort (#167)Frederik Buchlák
* feat: add usort * formatting via stdin
2023-10-28feat: add CSharpier (#165)Jesper Lundberg
* Add formatter and update readme and conform.txt * Remove unused variable