aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
AgeCommit message (Collapse)Author
2024-06-24feat(djlint): use tabstop to set indentation (#467)mangkoran
Formatter now able to use local buffer tabstop config. One of the case is when the tabstop is set by editorconfig. Close #457
2024-06-24feat: support imba fmt (#475)Mads Hougesen
2024-06-24feat: support grain format (#474)Mads Hougesen
* feat: support grain format * fix: formatting -> formatter * refactor(grain): format with stdin/stdout --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2024-06-24feat: support docformatter (#472)Mads Hougesen
2024-06-24feat: support dcm fix and dcm format (#471)Mads Hougesen
2024-06-24feat: support nickel format (#476)Mads Hougesen
2024-06-24feat: support gluon fmt (#473)Mads Hougesen
2024-06-24feat: support crlfmt (#470)Mads Hougesen
2024-06-24feat: add support for caramel fmt (#469)Mads Hougesen
2024-06-24feat: support brighterscript-formatter (#468)Mads Hougesen
2024-06-19doc: add LSP annotations for `lsp_format` options (#461)Micah Halter
* doc: add LSP annotations for `lsp_format` options * doc: regenerate documentation --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-06-19fix: LSP fallback behavior when formatters not availbleSteven Arcangeli
The bug would present itself when there were formatters configured for a filetype that were not available (not installed, or some other issue). This would also happen if the filetype configured an empty list of formatters. The fix was to make sure that we fall back to LSP formatting _either_ if the filetype had no formatters configured, _or_ if none of the configured formatters are available.
2024-06-17doc: format_on_save/format_after_save can return nilSteven Arcangeli
2024-06-17feat!: expand options for LSP formatting (#456)Steven Arcangeli
2024-06-15fix: deprecate typstfmt formatter (#458)Steven Arcangeli
2024-06-10feat: formatter override can use (#453)Steven Arcangeli
2024-06-09feat: add support for for vsg (#451)Fredrik Foss-Indrehus
* feat: add support for vsg * support more config files, use ctx.dirname
2024-06-08feat(latex): support llf (#446)Eirik Rolland Enger
* feat(latex): support llf Signed-off-by: engeir <engeir@pm.me> * Update llf.lua --------- Signed-off-by: engeir <engeir@pm.me> Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2024-06-05feat: add support for d2 (#445)giskard
* feat: add support for d2 * doc: normalize description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2024-06-05fix: always add cwd to debug logsSteven Arcangeli
2024-06-05fix(rustfmt): add a default cwd when config file is detected (#419)Steven Arcangeli
2024-06-05fix: improve error message when formatter config is missingSteven Arcangeli
2024-06-03fix: set correct file extension for unsaved buffer temp files (#440)emmanueltouzery
the extension used to be always the file type, be smarter now. For instance prettier wouldn't recognize a `.typescript` extension.
2024-06-02fix(format-queries): update query formatter for breaking changes in ↵Steven Arcangeli
nvim-treesitter
2024-06-02fix: use vim.fs.root in neovim 0.10Steven Arcangeli
2024-06-02feat: support docstrfmt (#441)Mads Hougesen
2024-06-02feat(rst): support rstfmt (#434)Mads Hougesen
* feat: add support for rstfmt Not to be confused with rustfmt * fix(rstfmt): correct github link
2024-06-01feat: add treesitter query formatter (#425)Magnus Larsen
* [feat]: add treesitter query formatter * [docgen] Update docs skip-checks: true * lint * refactor: fix condition and simplify some logic * [docgen] Update docs skip-checks: true --------- Co-authored-by: Magnus Larsen <mzla@topsoe.com> Co-authored-by: Github Actions <actions@github> Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-06-01ci: use nvim-typecheck-action v2Steven Arcangeli
2024-06-01fix(dprint): add support for binary in node_modules (#422)akineko
2024-06-01feat(python): support pyink (#427)Mads Hougesen
* feat: support pyink * doc: shorten pyink description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2024-06-01feat(fortran): support findent (#426)Mads Hougesen
* feat: add support for findent * refactor: use stdin instead of file
2024-06-01feat(erlang): support erlfmt (#436)Mads Hougesen
2024-06-01feat: add support for efmt (#428)Mads Hougesen
Adds support for Erlang formatter efmt
2024-06-01feat: add support for fprettify (#429)Mads Hougesen
2024-06-01feat(lua): support lua-format (#432)Mads Hougesen
* feat: add support for lua-format * refactor: use stdin instead of file
2024-06-01feat: add support for kcl fmt (#431)Mads Hougesen
2024-06-01feat: add support for hindent (#430)Mads Hougesen
Adds support for Haskell formatter hindent
2024-06-01feat: add support for npm-groovy-lint (#433)Mads Hougesen
2024-06-01feat(haskell): support stylish-haskell (#435)Mads Hougesen
* feat: add support for stylish-haskell * refactor: use stdin instead of file
2024-05-22doc: add type annotations for setup() functionSteven Arcangeli
2024-05-22feat: add `ruff_organize_imports` formatter (#418)Micah Halter
2024-05-22feat: add forge_fmt formatter support for solidity filetype (#417)Nam Anh Pham Hoang
2024-05-21feat: add support for leptosfmt (#415)George Nelson
2024-05-21feat: add support for typstyle (#412)Emanuel Särnhammar
* feat: add support for typstyle * doc: add period at end of description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2024-05-21docs: better type definitions for top-level functions (#410)Jon Heinritz
* docs: extract conform.format(opts) into it's own class * docs: extract conform.format_lines(opts) into it's own class * refactor: use new nvim_doc_tools capability to remove duplicated class definition --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-05-16feat: add support for bpfmt (#405)youfa
2024-05-16ci: test against Neovim 0.10Steven Arcangeli
2024-05-13fix: warning messages for improper async in format_on_save (#401)Steven Arcangeli
2024-05-13feat: add support for yew-fmt (#398)Mads Hougesen
* feat: add support for yew-fmt Should close #314 :) * refactor: copy rustfmt to yew-fmt * fix: use correct default_edition * refactor: extract Cargo.toml parsing into utility function * refactor: yew-fmt doesn't rely directly on rustfmt definition --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>