Skip to content

Releases: alecthomas/chroma

v2.0.0-alpha2

27 Jan 11:56
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Changelog

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

v0.9.0

24 Apr 22:05
Compare
Choose a tag to compare

Changelog

f235772 Update Slack link.
9866a75 Fix a typo into the lables regex for PromQL lexer
b790655 Fix PromQL lexer to support values enclosed within single quotes
d11bdac Add AL lexer
f4cddf0 Update Julia syntax highlighting from pygments (#472)
d67a2bf fix: synthesisable entries are ignored when cloned (#465)
41b886a Simplify the cmdlet ("NameBuiltin") rule
eb257ed Add a Dylan lexer
a9e4a4e Fix link to pygments-lexers.txt
9dc3c8c Add new style called "xcode-dark" (#460)
7a68f3e LiteralNumberHex: underscore support
d72f847 Create FUNDING.yml
b20de63 Create new style - "vulcan"
e6d871d Support lone '$' in Go templates.
c49d52b Add mcfunction lexer
59126c5 Add NewLazyLexer to defer rules definitions and reduce init costs (#449)
5da8316 Fix a few bugs including sub-lexers adding additional newlines when EnsureNL is true.
2a1e1a1 Add EnsureNL to C/Java lexers.
305a039 Update to latest dlclark/regexp2.
7dbcddc Change Text token to TextWhitespace token in SQL lexers
898761d Move lexers to correct folders
5b9087a Fix CSS lexer
6e272cf Introduce the Nord theme
b351ea7 Add various alternate file extensions to lexers
881d54f Improve number literals for several languages

v0.8.2

20 Nov 03:52
Compare
Choose a tag to compare

Changelog

74f5402 Update table of supported languages
473ed23 Update table.py to write changes on README.md
c788380 Minor code formatting changes using Black
eb0e31f Add PromQL lexer
552ad24 Rust multi-line strings
ab61726 Make linkeable lines a link to themselves
9eb358b Update Rust keywords/types (#419)
9b3cf51 zig: Detect visual separators in integer literals
e3a674c Add base16-snazzy style
2735a5f Agh.
d620d6e Only release on tagged versions.
95d002d CI fixes.
a49e744 Spacing.
37ff05c Really.
ee34bb8 Fix README?
05ac2f7 Revert "Zig: Detect visual separators in integer literals"
1701c8b Switch to Circle.
d2a1cc4 Zig: Detect visual separators in integer literals
639fa3a JavaScript: String Single Character Escape Sequences (#415)
4453913 Rewote Lexer & Added Stylus Tests
ab89a09 Added Stylus Language Support
225abae generate static binaries with goreleaser
ef102ef Add poweron architecture ppc64le to travis build
e79405b add *.env to bash lexer
c88ec01 Add QML lexer
42e9638 Support comma in go template (e.g. for range)
6665753 Improved support for Go templates (#401)

v0.8.1

20 Sep 22:33
Compare
Choose a tag to compare

Changelog

290ff86 yaml: block scalar multiline improvements.
d65f279 yaml: inline comments after literals
2365845 Improve Elixir lexer based on Pygments
6d6e9cd Update the awk lexer to better support gawk
fb0b720 Kotlin improvements around string interpolation, escaping, and generics (#392)
86ebaf3 Remove unintended changes
aac3294 Fix regex from as? to as?; add one more test case for !==
8a54f9e add many operators to kotlin
8d0d2b8 Add more keywords to kotlin lexer
477ad4a Add await and async keywords to jsx and javascript

v0.8.0

26 Jul 22:51
Compare
Choose a tag to compare

Changelog

4da591c Use EnsureNL for go lexer
e62d93f Add a timeout to regexes.
5756434 Add .editorconfig to ini lexer
391f301 Fix golangci-lint download
bac6996 added curly braces to toml lexer
2b9ea60 Split PHP into two lexers - PHP and PHTML.
1150149 Fix TypeScript keywords
57c1bd9 Added pony lexer (#372)
500529f Minor fix for name constants
8785122 Additional fixes for placeholders
155bdea Update Caddyfile lexer to fix edgecases and improve colouring
bd46305 Add Zig lexer
6896804 Add Caddyfile lexer (#363)
ee4284b Add a Rules.Merge() helper function.
4065717 feat: support HTTP/2 in HTTP lexer
2612dee add yaml test cases for more bool types and multi-line flow scalars.
2b9c82d yaml parse multiline block scalars as single StringDoc
16bde86 yaml parse for all bool keyword constant variations
684c267 yaml parse plan scalar values as literals rather than text.
705c61c yaml parse --- and ... as NameNamespace
0d4fb38 yaml parse keys as NameTag rather than Keyword
ec5955f Make single # on a line recognized as CommentSingle
8c4fe7e Add failing test case for single # in bash