Commit graph

2955 commits

Author SHA1 Message Date
dependabot[bot]
a7074f10d4
Bump plist from 1.5.1 to 1.6.0 (#2875)
Bumps [plist](https://github.com/ebarnard/rust-plist) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/ebarnard/rust-plist/releases)
- [Commits](https://github.com/ebarnard/rust-plist/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 03:44:56 +00:00
David Peter
d185f0973b
Merge pull request #2874 from cyqsimon/wg
Add syntax mapping for Wireguard config
2024-02-29 11:09:31 +01:00
cyqsimon
071874ea8f
Write changelog 2024-02-29 14:34:00 +08:00
cyqsimon
46a2c004a2
Add syntax mapping for Wireguard config 2024-02-29 14:25:20 +08:00
Lena
4c85483486 Inline format! args wherever possible 2024-02-25 00:38:11 +01:00
einfachIrgendwer0815
487bed2d95
Change CONTRIBUTING.md according to new changelog requirements (#2839)
* Mention changelog requirements in CONTRIBUTING

* Refer to CONTRIBUTING in changelog workflow

* Clarify when changelog entries are necessary

---------

Co-authored-by: Martin Nordholts <martin.nordholts@codetale.se>
2024-02-24 23:58:20 +01:00
David Peter
6f69682552
Merge pull request #2665 from einfachIrgendwer0815/feature_squeeze
Add `-s`/`--squeeze` and `--squeeze-limit` (based on #1441).
2024-02-24 20:36:17 +01:00
David Peter
bc5beaec5d
Update CHANGELOG.md 2024-02-24 20:36:08 +01:00
einfachIrgendwer0815
83b00bc653
Rename --squeeze to --squeeze-blank 2024-02-24 14:02:27 +01:00
einfachIrgendwer0815
f041ff8c5f
Hide --squeeze-limit from short help 2024-02-24 13:57:44 +01:00
einfachIrgendwer0815
1fbdbfc4b2
Update CHANGELOG 2024-02-24 13:52:40 +01:00
einfachIrgendwer0815
2323aa0def
Add tests for --squeeze 2024-02-24 13:51:44 +01:00
einfachIrgendwer0815
6c2ce63101
Add squeeze functionality to SimplePrinter 2024-02-24 13:51:44 +01:00
einfachIrgendwer0815
13204c46e2
Update short-help/long-help 2024-02-24 13:51:43 +01:00
Ethan P
9bb0271e7d
Update CHANGELOG.md (PR #1441) 2024-02-24 13:51:40 +01:00
Ethan P
0e4e10edb6
Add --squeeze-limit to specify max number of consecutive empty lines
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
2024-02-24 13:51:06 +01:00
Ethan P
0c7e5299bf
Add squeeze_empty_lines to PrettyPrinter 2024-02-24 13:51:05 +01:00
Ethan P
c36ed32816
Add --squeeze/-s option
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
2024-02-24 13:51:00 +01:00
David Peter
e1a3fc5529
Merge pull request #2857 from eth-p/skip-highlighting-when-no-color
Skip syntax parsing when color is not being output.
2024-02-23 21:59:45 +01:00
David Peter
1ae9e843ed
Merge branch 'master' into skip-highlighting-when-no-color 2024-02-23 21:59:32 +01:00
David Peter
dbe4cfb763
Merge pull request #2866 from cyqsimon/quadlet
Add syntax mapping for podman quadlets
2024-02-23 21:54:44 +01:00
David Peter
4549f83689
Merge branch 'master' into quadlet 2024-02-23 21:54:36 +01:00
David Peter
e6e8f847be
Merge pull request #2865 from cyqsimon/syntax-mapping-fix
Relax syntax mapping rule restrictions to allow brace expansion
2024-02-23 21:52:55 +01:00
David Peter
b9e249f782
Merge branch 'master' into syntax-mapping-fix 2024-02-23 21:52:46 +01:00
David Peter
3ffa3648cf
Merge pull request #2853 from einfachIrgendwer0815/document_default_style_components
Document default style components
2024-02-23 21:51:55 +01:00
David Peter
5c2cc53882
Merge pull request #2867 from cyqsimon/containers-conf
Map containers `.conf` files to TOML syntax
2024-02-23 21:50:55 +01:00
David Peter
a6f01af8de
Merge branch 'master' into containers-conf 2024-02-23 21:50:35 +01:00
David Peter
85a549e293
Merge pull request #2840 from anki-code/master
Added xonsh shell support
2024-02-23 21:48:58 +01:00
David Peter
b718889ba2
Merge branch 'master' into master 2024-02-23 21:48:44 +01:00
David Peter
708c74f6af
Merge pull request #2795 from mxaddict/master
Added JSONC and aws credentials to the syntax mappings
2024-02-23 21:48:20 +01:00
David Peter
74d666f5c0
Merge branch 'master' into skip-highlighting-when-no-color 2024-02-23 21:45:38 +01:00
David Peter
7604fe5567
Merge pull request #2807 from Oliver-Looney/2783-setting-terminal-title
2783 setting terminal title
2024-02-23 21:37:28 +01:00
David Peter
0080b043c4
Merge branch 'master' into master 2024-02-23 21:35:21 +01:00
cyqsimon
6a6b02117b
Apply clippy fixes (#2864)
* Apply clippy fixes

* Write changelog
2024-02-20 19:39:22 +01:00
cyqsimon
511cd30105
Write changelog 2024-02-21 00:26:23 +08:00
cyqsimon
92915e22e7
Map containers .conf files to TOML syntax 2024-02-21 00:25:06 +08:00
cyqsimon
d499191b0a
Write changelog 2024-02-20 14:54:43 +08:00
cyqsimon
152d69fe98
Add syntax mapping for podman quadlets 2024-02-20 14:49:12 +08:00
cyqsimon
81aa24310c
Write changelog 2024-02-20 14:33:02 +08:00
cyqsimon
75cdabaf13
Relax syntax mapping rule restrictions to allow brace expansion 2024-02-20 14:24:51 +08:00
Oliver Looney
1f628203e5
Merge branch 'master' into 2783-setting-terminal-title 2024-02-12 09:34:01 +00:00
David Peter
1b9fc1d5af
Merge pull request #2856 from eth-p/fix-2185
Fix incorrect categorization of ANSI SGR sequences.
2024-02-12 08:32:47 +01:00
David Peter
bc1ca1a346
Merge branch 'master' into fix-2185 2024-02-12 08:19:56 +01:00
David Peter
f735120978
Merge pull request #2854 from eth-p/fix-line-number-wrap-off-by-one
Fix off-by-one error in line number continuation
2024-02-12 08:19:34 +01:00
Ethan P.
25b5a41189
Skip syntax parsing when color output disabled 2024-02-11 22:49:49 -08:00
Ethan P.
c94cf4e14e
Split syntax highlighting from print_line into fn
This simplifies the `print_line` function a little bit while also
providing a way for syntax highlighting to be skipped when it's
not being used (i.e. `--color=never`).
2024-02-11 22:27:35 -08:00
Ethan P.
84d80eebd0
Test for correct categorization of SGR sequences
This adds a regression test for the fix in the previous commit.
2024-02-11 19:40:29 -08:00
Ethan P.
915dd9fbf8
Fix incorrect categorization of SGR sequences
Specifically, prevent other attributes from leaking into the
bold/dim/italic/underline attributes, and ensure that bright backgrounds
are put into the background attribute instead of the foreground
attribute.
2024-02-11 19:35:54 -08:00
Ethan P.
9d77c1373c
Fix off-by-one error in line number continuation 2024-02-11 16:49:06 -08:00
Oliver Looney
c3f2ddf509
Merge branch 'master' into 2783-setting-terminal-title 2024-02-11 22:53:48 +00:00