Skip to content

Releases: alecthomas/chroma

v2.0.1

28 May 14:41

Choose a tag to compare

Changelog

  • 4dfc2ca refactor: run go mod tidy on chromad

v2.0.0

27 May 14:35

Choose a tag to compare

Changelog

  • d13d611 Add value keyword for Kotlin
  • dea6a13 Add CSS style inheritance to WithCustomCSS option
  • 7d77940 [html formatter] Add option to let users provide custom CSS styles
  • 7cc13cf Add support for F# package reference + Fix CommentPreproc detection (#631)
  • 073a30b Add Whiley Lexer (#628)
  • 44d1d23 fix: revert line change from pygments converter
  • d070b1c Fix for C# identifiers with leading underscores
  • f7d2bb0 fix: pin to Go 1.17 for now
  • f7893bc add an average rgb scheme
  • 7bfe2f4 fix: add Dart required keyword

v2.0.0-alpha4

02 Mar 09:51

Choose a tag to compare

Changelog

v2.0.0-alpha3

01 Mar 19:29

Choose a tag to compare

Changelog

  • c66ec1e Upgrade goreleaser from 0.184.0 to 1.5.0

v2.0.0-alpha2

27 Jan 11:56

Choose a tag to compare

Changelog

59896e3 Flag groups for "chroma", making it a bit clearer for users.
33fa611 Update friendly.go

v2.0.0-alpha1

27 Jan 04:23

Choose a tag to compare

Changelog

cc2dd5b Version 2 of Chroma
d491f1b Helper scripts for on-the-fly running chroma{,d}.
4ba9a05 Add mariadb aliases
0b2b5ee Add[styles/gruvbox]: vim gruvbox theme for chroma (#592)

v0.10.0

13 Jan 11:37

Choose a tag to compare

Changelog

36bdd4b Benchmark Java instead of Go.
b01c8fc Added OpenEdgeABL lexer (#585)
decf9d3 Highlight MSBuild project files for C#, F#, and C++ as XML. (#584)
3bdc3fb Removed mimetype for the Lexer bicep (#574)
ac2891f Add support for more complex command prompts (#583)
d38fcfc fixed scheme characters
06f476d Add lexer for Typed and Untyped Plutus Core (#579)
3f5761f Fix background color of xcode-dark style
d6e61d3 Use span for .line, put code inside <code>
5ed5054 Put lines in a div & code lines in a span, Add WrapLongLines Option
7cefa29 Add WitchHazel by Thea Flowers (#570)
0fcd2d8 Add lexer/detector for zed
2023798 feat: Added .bicep lexer #562 (#564)
175c35e Handle enclosing backtick in Kotlin lexer for identifiers, close #565
4c36740 Refinement of the C# lexer (#563)
0e8972e Fix chromad build.

v0.9.4

16 Oct 21:59

Choose a tag to compare

Changelog (since 0.9.2)

6520148 Re-add release workflow.
22ed667 Add binary number to go lexer
785554e Add sieve lexer
4b2b42d Tidy go.mod
9a8a647 Report file pattern errors when a lexer is initialised.
07a127d Test for compiling all lexer patterns.
23160b3 lexers/internal: remove danwakefield/fnmatch
3683949 Update go modules
7259f5b BashSession lexer
4d7154e Raku: Fix unterminated heredoc fixes #547
82795e1 Update to the last version of microsoft grammar file
04ed07d Update rust lexer (#548)
d1f9876 Add JSON test.
f7c1454 Support comments in JSON
02951ce Implement 1S:Enterprise (#545)
4436c49 lexers: add Debian user configuration file backups to ignored suffixes
26f16a6 Raku: Improve nested regex and code, function designs
4f77966 Raku: Add more test data
22fac1f Raku: Fix Match hash access, $
2535d1a Raku: Fix operators that come after <
bb38ae2 Raku: Fix detecting adverbs, plus a little cleanup
2eba3ce Update APL lexer to cope with current Dyalog APL
b71f4c6 Raku: Fix incorrectly matching closing brackets as opening
7966c29 Update README.md
61cfd7d Update README.md
594e311 Update README.md
f4ffd6c Fix Raku colon pair, function adverb and POD declaration
2cff0c9 Switch from Circle to GHA.
fb1dd01 [kotlin] expensive char list -> char classes
eafea0d replace expensive char lists with char classes
f09329a Add lexer for Meson build system
a0e9618 ARM ASM (#531)
d402102 Support Fennel. (#530)
21a1750 Remove go get for installation from README
6a6cf17 Fix some buggy number patterns.
d4eaef3 Release arm64 builds.
54fd3bc Clean up imports and make cmd/chroma its own module.
9df8bd4 fish: Fix incorrect tokenisation of command arguments containing dash

v0.9.2

17 Jun 00:03
841c391

Choose a tag to compare

Changelog

841c391 Basic lexer for Microsoft Power Query M (#462)
d13f838 Added uint8_t to c lexer.
402a150 SCSS fixes and modifications, fixes #451
3ec0455 Some Raku modifications and making use of #519 and #518
10329f8 Add ByGroupNames function, same as ByGroups but use named groups (#519)
22cbca5 Allow skipping group's emitter, via passing nil as emitter
4b989ea feat(styles/dracula): use official green and red for inserted and deleted
c8581d4 Add tabindex="0" to default <pre> wrapper
8513d99 Add new style - "hr" (#513)
99e6696 Use Hermit (https://github.com/cashapp/hermit) to manage build tools.
a566061 Add set text analyser for MySQL lexer
d964e7c pygments2chroma updates (#509)
9391121 Add Metal lexer
b5d03c0 feat(regexlexer): compile in RE2 compatibility mode
4d45300 feat(lexers/c): associate with XBM and XPM
14a8aba feat(lexers): match filenames ignoring trailing .in
2bcdf19 [doom-one] Change style of NameAttribute
33faf55 Improve fish lexer. Add syntax highlighting for commands
35539cf gofmt
465a27c cmd: --fail earlier without reading entire input files (#502)
e87e5b2 cmd: add optional silent fail mode on no specific lexer
2e23e7f regexp2 uses number of group as its name so name check isn't needed
1b7d2dd Update Python lexers and add tests for them
ff6eedb Fix: sort words in descending order of length before regex generation (#496)
225e186 Pass *LexerState as context to emitters
2cc8645 Add FortranFixedLexer
312be63 Allow several tests for a same lexer
dcfd826 Add support for named capture groups
15f2498 lexers: add one for groff
8bba42c Update mimetypes in Python lexers
515a389 gofmt
ba03a8b Use Python 3 by default
929f473 gofmt
b3d969c python: add *.pyi
d489fc3 systemd: add more filename globs
e424fed lexers: match by known backup filename suffixes
386cc48 toml: allow - in keys
72795c5 Add test for methodop .&
ad7162c Some bug fixes for Raku lexer
f6d1db5 Change some colors, Add a new variation
1231145 Add doom-one style
d6bdd14 sort lexers with lower case
373b6b7 Fix SCSS properties, add missing operator and keywords
a09abba Update golangci-lint so we can force use of LazyLexer.
7e282be Update golangci-lint so we can force use of LazyLexer.
f387459 Convert raku to lazy lexer (#479)
15b75a6 File name matches and mime matches should be moved to phtml from php lexer (#477)
d4eca2a Svelte Lexer Improvements (#478)
3626d89 Fix lint.
575caac Improve lexer for Solidity
cab6ebc Add basic lexer for Svelte
e86123a better markdown lexer
9de08fc Add Raku lexer (#476)

v0.9.1

24 Apr 22:26

Choose a tag to compare

Changelog

c44c690 Switch chromad to go:embed and show version.
7410d4a Update chromad modules.