Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-14 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-09-14 | feat: add djlint (#47) | zootedb0t | |
2023-09-14 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-09-14 | feat: add buf as protobuf linter (#43) | buz | |
2023-09-14 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
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-13 | chore(master): release 3.1.0 (#34)v3.1.0 | github-actions[bot] | |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |||
2023-09-12 | doc: add a features section to the README | 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-10 | chore(master): release 3.0.0 (#32)v3.0.0 | github-actions[bot] | |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |||
2023-09-08 | Merge pull request #33 from stevearc/stevearc-refactor | Steven Arcangeli | |
New config syntax for "run first" vs "run all" | |||
2023-09-08 | test: add tests for public API functions | Steven Arcangeli | |
2023-09-08 | feat: format() can always fall back to LSP formatting | Steven Arcangeli | |
2023-09-08 | doc: document the "*" filetype option | 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. | |||
2023-09-07 | refactor!: remove run_all_formatters config option | Steven Arcangeli | |
run_all_formatters is now the default. To only run the first formatter (the previous behavior), see the next commit | |||
2023-09-07 | refactor: make get_formatter_info a public method | Steven Arcangeli | |
2023-09-07 | lint: apply stylua | Steven Arcangeli | |
2023-09-07 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-09-07 | feat: add beautysh, taplo, trim_newlines and trim_whitespace (#29) | xfzv | |
* feat: add beautysh * feat: add taplo * feat: add trim_newlines * feat: add trim_whitespace * doc: mention that `trim_newlines` and `trim_whitespaces` are using `awk` --------- Co-authored-by: xfzv <> | |||
2023-09-06 | doc: format() takes bufnr, not buf (#28) | Seth Daniel | |
2023-09-06 | chore(master): release 2.3.0 (#22)v2.3.0 | github-actions[bot] | |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |||
2023-09-06 | doc: add guidance for extending built-in formatters (#27) | Steven Arcangeli | |
2023-09-05 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-09-05 | doc: format() takes bufnr, not buf (#25) | Seth Daniel | |
2023-09-04 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-09-04 | doc: fix prettierd formatter name in README (#24) | jinzhongjia | |
* fix readme error and add a tip * fix doc `prettier_d` | |||
2023-09-01 | tools: use local working directory for typechecking temp files | Steven Arcangeli | |
2023-09-01 | tools: add a make clean target | Steven Arcangeli | |
2023-08-31 | ci: improve consistency of CI workflows (#23) | Steven Arcangeli | |
* ci: don't double-run tests on PRs * ci: always run document generation and lint | |||
2023-08-31 | fix: callback should always be called | Steven Arcangeli | |
2023-08-31 | feat: format() takes an optional callback (#21) | Steven Arcangeli | |
* refactor: replicate lsp.buf.format call * feat: format() takes an optional callback * fix: improper logging * fix: callback returns error if buffer is no longer valid * fix: provide more detailed error message to callback * fix: properly detect task interruption * cleanup: remove unnecessary error code translation * fix: lsp formatting for Neovim 0.9 * doc: add example of async formatting on save * fix: async LSP formatter discards changes if buffer was modified * fix: error code comparison * fix: use the same LSP client filtering logic everywhere * fix: add buffer validity guard checks * fix: add buffer validity guard to LSP formatter * refactor: change the default log level to WARN | |||
2023-08-30 | chore(master): release 2.2.0 (#20)v2.2.0 | github-actions[bot] | |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |||
2023-08-30 | feat: apply changes as text edits using LSP utils (#18) | Steven Arcangeli | |
* feat: apply changes as text edits using LSP utils This means we can leverage all of the work that was done in the LSP client to preserve marks, cursor position, etc * log: add trace logging to debug performance * feat: use the same diff -> TextEdit technique for bad LSP servers Some LSP servers simply return a single TextEdit that replaces the whole buffer. This is bad for extmarks, cursor, and if the buffer is open in multiple windows the non-active window will jump to the top. We can detect that situation and apply the same vim.diff logic to convert it into more granular TextEdits. | |||
2023-08-30 | tools: pre-push hook only runs on master | Steven Arcangeli | |
2023-08-29 | chore(master): release 2.1.0 (#10)v2.1.0 | github-actions[bot] | |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |||
2023-08-30 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-08-29 | feat: notify when formatter errors, and add notify_on_error config option (#16) | Steven Arcangeli | |
2023-08-29 | fix: shellharden (#15) | Seth Daniel | |
2023-08-29 | feat: display last few lines of the log file in :ConformInfo | Steven Arcangeli | |
2023-08-30 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-08-29 | feat: add perltidy (#12) | Seth Daniel | |
2023-08-30 | [docgen] Update docs | Github Actions | |
skip-checks: true | |||
2023-08-29 | feat: add shellharden (#14) | Seth Daniel | |
2023-08-30 | [docgen] Update docs | Github Actions | |
skip-checks: true |