summaryrefslogtreecommitdiffstats
path: root/lua
AgeCommit message (Collapse)Author
2024-07-23feat: add sleek, a SQL formatter (#496)Peter Aronoff
2024-07-19cleanup!: drop support for nvim 0.8Steven Arcangeli
2024-07-19lint: remove unused variableSteven Arcangeli
2024-07-19fix: warn user when they are attempting unsupported behaviorSteven Arcangeli
2024-07-19feat: deprecate will_fallback_lsp in favor of list_formatters_to_runSteven Arcangeli
2024-07-19fix: ensure only expected options get passed throughSteven Arcangeli
2024-07-19feat: notify when no formatters available for a bufferSteven Arcangeli
2024-07-19fix: crash in nvim-notifySteven Arcangeli
2024-07-19refactor: deprecate formatter alternation syntaxSteven Arcangeli
2024-07-19feat: format parameter to only run the first available formatterSteven Arcangeli
2024-07-19feat: allow configuring conform.format() args on a per-filetype basisSteven Arcangeli
2024-07-19feat: allow customizing format() defaultsSteven Arcangeli
2024-07-17fix(shfmt): don't pass indentation if .editorconfig is present (#492)Steven Arcangeli
2024-07-16fix: display stdout as error message if stderr is empty (#486)Steven Arcangeli
2024-07-15feat: add undojoin as a format option (#488)Grolaf
* feat: add new format option: undojoin This option allow user to automatically perform undojoin command before formatting. This is useful if the user uses an autosave plugin + format on save, because in case of undo, it will undo the last change AND the formatting. Without this option, it will only undo the formatting. * fix: passed linting * fix: apply undojoin for LSP formatting * doc: fix type annotations for apply_format * doc: regenerate documentation --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-07-15feat: support doctoc (#489)Kevin Nitro
* feat: support doctoc * doc: shorten description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2024-07-01feat(shfmt): add automatic indentation detection (#481)Micah Halter
* feat(shfmt): automatically detect indentation * fix(markdown-toc): improve correctness of indentation size calculation * fix(djlint): improve correctness of indentation size calculation * feat: add effective `shiftwidth` to `conform.Context` this also refactors formatters that automatically set indentation level to use the new shiftwidth context
2024-07-01feat: add Swiftlint formatter (#484)Jake Langford
* adds swiftlint formatter * update readme with link to swiftlint
2024-07-01fix(biome-check): use --write instead of deprecated --apply (#482)Ismail Ait Bella
2024-06-24fix(npm-groovy-lint): ignore exit code 1 (#477)Steven Arcangeli
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