Code

History

Commits on git-sync to cli/src/formatter.rs35+
  1. colors config: crossed-out text formatting supportshoce committed 4 months ago69e1e15
  2. tests: Replace Result.unwrap with ? operator in test functionsGaëtan Lehmann committed 8 months agoacee40c
  3. tests: exercise more formatter style transitionsDavid Higgs committed 8 months agob5f32d4
  4. tests: exercise more formatter behavior on flushDavid Higgs committed 8 months agof9c5e95
  5. tests: exercise formatting more hex colorsDavid Higgs committed 8 months agob42fd13
  6. tests: run `cargo insta test --force-update-snapshots`Ilya Grigoriev committed 9 months ago3a9e56d
  7. templater: add builtin `hyperlink()` functionGeorge Christou committed 9 months ago44bf7e4
  8. clippy: fix unnecessary_semicolon lintxtqqczze committed 10 months agocbe8b79
  9. formatter: add support for "dim" attributeYuya Nishihara committed 11 months ago2ff13a9
  10. rustc_lint: enable redundant-imports lintxtqqczze committed 11 months ago6d8bf97
  11. cleanup: use method version of str::from_utf8()Yuya Nishihara committed 1 year ago744631d
  12. formatter: migrate away from .with_label*() functionsYuya Nishihara committed 1 year ago3f434ad
  13. formatter: reimplement LabeledWriter as RAII typeYuya Nishihara committed 1 year agoe1d0ec1
  14. formatter: move labeled() to extension trait, add owned versionYuya Nishihara committed 2 years ago2c0f65e
  15. formatter: add forwarding impls for &mut/Boxed FormatterYuya Nishihara committed 1 year ago6a7999a
  16. formatter: make push/pop_label() never failYuya Nishihara committed 1 year ago760ab75
  17. formatter: emit pending color sequence on flush() instead of pop_label()Yuya Nishihara committed 1 year ago6a70a9b
  18. cli: make all DiffRenderer methods asyncYuya Nishihara committed 1 year agod61be4c
  19. cli lib: make use of `Self` consistentadamnemecek committed 1 year ago8a26df2
  20. formatter: add support for ANSI 256-color paletteDaniel Luz committed 1 year ago2f95eaf
  21. formatter: add support for reversing colorsDaniel Luz committed 1 year ago05c77a8
  22. cleanup: enable `unused_trait_names` clippy lint and run `clippy --fix`Ilya Grigoriev committed 1 year agoacaedc3
  23. tests: wrap formatter output so insta won't trim trailing whitespaceYuya Nishihara committed 1 year agoc6ed2af
  24. formatter: add support for italic textGeorge Christou committed 1 year ago9314df9
  25. formatter: leverage serde to parse color stylesYuya Nishihara committed 1 year ago32ee480
  26. formatter: rename Style fields to match configuration keysYuya Nishihara committed 1 year ago7ae1a97
  27. formatter: in tests, use IndexMap to preserve definition order of colorsYuya Nishihara committed 1 year ago1c7634f
  28. config: migrate underlying data structure to toml_editYuya Nishihara committed 1 year agoe2be4fa
  29. cli: replace uses of .get_table() to include better error indicationYuya Nishihara committed 1 year agoec14d08
  30. config: introduce our ConfigGetError typeYuya Nishihara committed 1 year agoc0ce880
  31. cli: migrate remainder of Config::get() to StackedConfig::get()Yuya Nishihara committed 1 year ago4134511
  32. formatter: migrate tests to be using StackedConfigYuya Nishihara committed 1 year ago548f85d
  33. config: add type alias for config::ConfigErrorYuya Nishihara committed 1 year ago6d26d53
  34. text_util: add function to pad labeled textYuya Nishihara committed 2 years agoca5d119
  35. style: remove unneeded lifetimes from trait implementationsSamuel Tardieu committed 2 years ago2112584