aboutsummaryrefslogtreecommitdiffstats
path: root/doc
AgeCommit message (Collapse)Author
2023-09-21[docgen] Update docsGithub Actions
skip-checks: true
2023-09-21feat: 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-18doc: remove irrelevant note about '*' filetypeSteven Arcangeli
2023-09-18[docgen] Update docsGithub Actions
skip-checks: true
2023-09-17feat: 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-16fix: unify timeout error message format with LSPSteven Arcangeli
2023-09-15feat: '_' filetype to define fallback formattersSteven Arcangeli
2023-09-16[docgen] Update docsGithub Actions
skip-checks: true
2023-09-15Feat: 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-15feat: utility function to extend the built-in formatter args (#50)Steven Arcangeli
2023-09-15[docgen] Update docsGithub Actions
skip-checks: true
2023-09-15[docgen] Update docsGithub Actions
skip-checks: true
2023-09-15feat: allow running commands in a shell (#49)Steven Arcangeli
2023-09-15[docgen] Update docsGithub Actions
skip-checks: true
2023-09-15doc: recipe for automatically running slow formatters asyncSteven Arcangeli
2023-09-15[docgen] Update docsGithub Actions
skip-checks: true
2023-09-15feat: alejandra formatter (#52)Leiser Fernández Gallo
2023-09-14[docgen] Update docsGithub Actions
skip-checks: true
2023-09-14feat: add deno fmt (#46)Riley Bruins
2023-09-14[docgen] Update docsGithub Actions
skip-checks: true
2023-09-14feat: add djlint (#47)zootedb0t
2023-09-14[docgen] Update docsGithub Actions
skip-checks: true
2023-09-14[docgen] Update docsGithub Actions
skip-checks: true
2023-09-14doc: add some recipes to the documentationSteven Arcangeli
2023-09-13doc: document the format options that are passed through to LSP formattingSteven Arcangeli
2023-09-10feat: format_on_save and format_after_save can be functionsSteven Arcangeli
2023-09-08feat: format() can always fall back to LSP formattingSteven Arcangeli
2023-09-08doc: document the "*" filetype optionSteven Arcangeli
2023-09-08feat: syntax for using first available formatterSteven 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-07refactor!: remove run_all_formatters config optionSteven Arcangeli
run_all_formatters is now the default. To only run the first formatter (the previous behavior), see the next commit
2023-09-07refactor: make get_formatter_info a public methodSteven Arcangeli
2023-09-07[docgen] Update docsGithub Actions
skip-checks: true
2023-09-06doc: add guidance for extending built-in formatters (#27)Steven Arcangeli
2023-09-05[docgen] Update docsGithub Actions
skip-checks: true
2023-09-04[docgen] Update docsGithub Actions
skip-checks: true
2023-08-31feat: 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[docgen] Update docsGithub Actions
skip-checks: true
2023-08-30[docgen] Update docsGithub Actions
skip-checks: true
2023-08-30[docgen] Update docsGithub Actions
skip-checks: true
2023-08-30[docgen] Update docsGithub Actions
skip-checks: true
2023-08-30[docgen] Update docsGithub Actions
skip-checks: true
2023-08-29feat: add support for environment variables (#8)Steven Arcangeli
2023-08-28feat: ConformInfo command for debugging formatter statusSteven Arcangeli
2023-08-28feat: range formattingSteven Arcangeli
Should work the same as vim.lsp.buf.format(). Additionally, range formatting is supported for *any* formatter. If the formatter doesn't have native support for ranges, conform will do its best to only apply the diffs that affect that range.
2023-08-28refactor!: remove ability for formatter list to disable autoformatSteven Arcangeli
I realized that there are so, so many possible features people would want when configuring the autoformatter, but it's better to just code it up yourself rather than try to create a config language that can describe all possible logic. Also adding new docs to provide examples of more advanced autoformat logic.
2023-08-28[docgen] Update docsGithub Actions
skip-checks: true
2023-08-28[docgen] Update docsGithub Actions
skip-checks: true
2023-08-27doc: flesh out config options documentationSteven Arcangeli
2023-08-25feat: first working versionSteven Arcangeli