Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-29 | fix: format_after_save blocks on exit for lsp formatting | Steven Arcangeli | |
2023-09-29 | feat: format injected languages (#83) | Steven Arcangeli | |
2023-09-29 | fix: format_after_save autocmd blocks nvim exit until complete | Steven Arcangeli | |
This fixes one the main issue with a BufWritePost format autocmd: that if the user does `:wq` vim will exit before the formatting changes are applied. Now we will block in VimLeavePre until the formatter completes (or a timeout is reached). | |||
2023-09-29 | fix: only show "no formatters" warning if formatters passed in explicitly (#85) | Steven Arcangeli | |
2023-09-28 | feat: add darker (#80) | okuuva | |
* feat: add darker * fix: darker args Added --no-color since we don't want color output. Also set --revision and --stdin-filename since running darker for a single file doesn't make much sense without them. * refactor: make darker args context aware If the buffer is modified we should set revision and stdin-filename in order not to lose changes. If it's not we should leave them unset so that we respect settings from pyproject.toml. | |||
2023-09-27 | feat: add 'JavaScript Standard Style' formatter (#82) | Dennis B | |
2023-09-26 | feat: Add support for php-cs-fixer (#78) | nedia | |
* feat(php-cs-fixer): Add support for php-cs-fixer * chore: Update README * fix(php-cs-fixer): Include meta * fix(php-cs-fixer): And include type annotation * fix(php-cs-fixer): Use find_executable instead of path_or | |||
2023-09-26 | feat: new utility function | Steven Arcangeli | |
2023-09-26 | feat: another utility for extending formatter arguments | Steven Arcangeli | |
2023-09-25 | feat: add templ support (#73) | Rene Zbinden | |
chore: bla chore: update | |||
2023-09-25 | feat: add `markdown-toc` (#75) | pseudometa | |
* feat: add `markdown-toc` * fix: ran stylua * fix: correct indent when formatting in different buffer | |||
2023-09-25 | fix: rubocop succeeds even if some errors are not autocorrected (#74) | Steven Arcangeli | |
2023-09-22 | fix: `stylelint` and `markdownlint` when there are non-autofixable errors (#70) | pseudometa | |
* fix: `stylelint` when there are non-autofixable errors * fix: exit code for non-autofixable error in `markdownlint` | |||
2023-09-22 | feat: add `bibtex-tidy` (#69) | pseudometa | |
* feat: add `bibtex-tidy` * fix: indentation | |||
2023-09-22 | feat: add dprint (#71) | Seth Daniel | |
2023-09-21 | feat: add mdformat (#68) | Ryan Preston | |
* feat(formatters): add mdformat for markdown formatting * docs: add mdformat to readme and conform.txt | |||
2023-09-21 | refactor: rename ruff -> ruff_fix | Steven Arcangeli | |
2023-09-21 | feat: add ruff formatter and improve ruff root finding (#66) | Leiser Fernández Gallo | |
* Add ruff formatter and improve ruff root finding * Add docs | |||
2023-09-20 | doc: change url for buf format (#65) | Stefan VanBuren | |
2023-09-19 | fix: range formatting for LSP formatters (#63) | Steven Arcangeli | |
2023-09-18 | doc: remove irrelevant note about '*' filetype | Steven Arcangeli | |
2023-09-18 | feat: add `squeeze_blanks` (#62) | pseudometa | |
2023-09-17 | feat: make lsp_fallback behavior more intuitive (#59) | Steven Arcangeli | |
When lsp_fallback = true AND the only formatters for the buffer are from the "*" or "_" filetype, format with LSP instead of the "*"/"_" formatters. | |||
2023-09-16 | fix: ConformInfo shows available LSP formatters | Steven Arcangeli | |
2023-09-16 | fix: LSP formatter respects quiet = true | Steven Arcangeli | |
2023-09-16 | fix: unify timeout error message format with LSP | Steven Arcangeli | |
2023-09-15 | feat: '_' filetype to define fallback formatters | Steven Arcangeli | |
2023-09-15 | Feat: Add rustywind formatter (#56) | Eric Milford | |
* Feat: Add rustywind formatter This adds the rustywind, a CLI for organizing Tailwind CSS classes. * Update meta description | |||
2023-09-15 | feat: utility function to extend the built-in formatter args (#50) | Steven Arcangeli | |
2023-09-15 | feat: provide a formatexpr (#55) | Steven Arcangeli | |
2023-09-15 | feat: add GNU/BSD indent (#54) | Thim Cederlund | |
2023-09-15 | feat: add shellcheck (#44) | Steven Arcangeli | |
2023-09-15 | feat: allow running commands in a shell (#49) | Steven Arcangeli | |
2023-09-15 | feat: format_on_save functions can return a callback as the second value | Steven Arcangeli | |
2023-09-15 | fix: `q` keymap in ConformInfo and `codespell` exit codes (#53) | pseudometa | |
* fix: `codespell` error when trying to fix ambiguous misspelling * fix: delay when having a keymap with `q` as operator | |||
2023-09-15 | feat: alejandra formatter (#52) | Leiser Fernández Gallo | |
2023-09-14 | fix: use non-deprecated health report functions if available (#48) | Maria José Solano | |
2023-09-14 | feat: add `markdownlint`, `stylelint`, `codespell`, and `biome` (#45) | pseudometa | |
* feat: add markdownlint, stylelint & codespell * feat: add `biome` * fix: indentation | |||
2023-09-14 | feat: add deno fmt (#46) | Riley Bruins | |
2023-09-14 | feat: add djlint (#47) | zootedb0t | |
2023-09-14 | feat: add buf as protobuf linter (#43) | buz | |
2023-09-14 | feat: latexindent (#42) | Isak Samsten | |
2023-09-14 | feat: ruff (#41) | Isak Samsten | |
2023-09-14 | doc: add some recipes to the documentation | Steven Arcangeli | |
2023-09-13 | doc: document the format options that are passed through to LSP formatting | Steven Arcangeli | |
2023-09-13 | fix: extra trailing newline for LSP formatters that replace entire file | Steven Arcangeli | |
2023-09-12 | fix: modify diff calculation to handle end-of-file newlines better (#35) | Steven Arcangeli | |
2023-09-10 | feat: format_on_save and format_after_save can be functions | Steven Arcangeli | |
2023-09-08 | feat: format() can always fall back to LSP formatting | Steven Arcangeli | |
2023-09-08 | feat: syntax for using first available formatter | Steven Arcangeli | |
Alternations are now supported. You can specify a sub-list in place of a formatter name and conform will use the first formatter in that list that is available. For example, this will use either prettierd or prettier (whichever is available), and then always trim whitespace afterwards: conform.format(formatters = { { "prettierd", "prettier" }, "trim_whitespace" }) This syntax is available both in the formatters_by_ft config option and in the `formatters` argument of the `format` method. |