Commit graph

8 commits

Author SHA1 Message Date
Kenny Parnell fb6849ca16
Add --select-if-one flag to choose/filter. (#398)
* Add `--select-if-one` flag to `choose`/`filter`.

* Remove accidental commit of other changes.

* fix: use o.Options

---------

Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-11-28 12:34:50 -05:00
Kenny Parnell f5b09a434a
Switch to termenv.EnvColorProfile() (#387)
* Switch to termenv.EnvColorProfile()

This will allow users to set `NO_COLOR` and `CLICOLOR_FORCE` when they need to override the detected values.

* Update main.go
2023-07-20 14:14:31 -04:00
Maas Lalani 95ddbdb416 feat: allow passing language to parse code 2023-03-24 13:40:37 -04:00
Maas Lalani 7a32dd579b feat: allow customization of glamour theme 2022-10-18 15:21:35 -04:00
Maas Lalani 1479184f3f fix: satisfy all linters 2022-08-05 02:33:40 -04:00
Christian Muehlhaeuser 66993d8ef1
Add soft & hard linter configs & workflows (#44)
* chore: add linter configs & workflows

* fix: ignore certain linter warnings

* fix: mark errors as intentionally ignored

* fix: avoid unnecessary conversion

* fix: handle template/renderer errors

* fix: mark intentionally unused code
2022-07-30 12:32:59 -04:00
Maas Lalani da961b423b
fix(format): don't word wrap markdown 2022-07-21 16:56:22 -04:00
Maas Lalani 5d147f48e2
refactor(format): Move functions to formats.go and add map between type and function 2022-07-14 17:09:18 -04:00