Chroma Versions Save

A general purpose syntax highlighter in pure Go

v2.13.0

2 months ago

Changelog

  • bd47355 fix: include compress state in style cache key
  • 1235bbf chore(deps): update all non-major dependencies (#944)
  • 4e60c81 C#: Allow for empty comments (#943)
  • fe5dde8 Add Lexer for NDISASM (#933)
  • 6dd9f26 feat: introduce a LRU compiled style cache for the HTML formatter (#938)
  • 898d467 lexers/cue: support definitions and dollars in field names (#935)
  • 0f92de4 chore(deps): update all non-major dependencies (#934)
  • 381050b Major updates to Caddyfile lexer (#932)
  • e9292e6 chore(deps): update dependency goreleaser to v1.24.0 (#925)
  • ddbae13 chore: upgrade Go
  • 7ce2caf Fix lexers check when built with newer Go (#928)
  • 506e36f fix(lexers/go): "~" is a valid token (#926)
  • f4788c0 docs: add import to README
  • 39115eb chore(deps): update dependency esbuild to v0.20.0 (#921)
  • 4c6fdb1 Add .avsc to JSON lexer (#920)
  • ee60f7e Add missing token types for Rego + add Rego to README (#919)
  • ae36e63 Add support for Rego syntax (#918)
  • d7a7dd3 chore(deps): update module github.com/alecthomas/assert/v2 to v2.5.0 (#917)
  • c31293c chore(deps): update dependency go to v1.21.6 (#915)
  • ebc34cf fix file extension typo, remove redundent parens (#914)
  • 641b06f Fix type operators not being recognised in Haskell (#913)
  • 3ef9475 chore(deps): update dependency watchexec to v1.25.1 (#912)
  • 23368be styles(catpuccin/gh-dark): LineHighlight grp (#911)
  • a8704a8 Add lexer for RPMSpec (#907)
  • eb47752 Add lexer for Promela (#906)
  • 3f395c9 chore(deps): update all non-major dependencies (#905)
  • 2018c2f chore(deps): update all non-major dependencies (#904)
  • 016768b Add desktop entry lexer (#903)
  • f130045 chore(deps): update dependency watchexec to v1.24.1 (#901)
  • 9670d34 chore(deps): update actions/checkout action to v4 (#899)
  • ad03817 chore(deps): update all non-major dependencies (#898)
  • 76039a5 chore(deps): update all non-major dependencies (#897)
  • 678b799 Add a lexer for the Materialize SQL dialect (#896)

v2.12.0

5 months ago

Changelog

  • c74f557 Add renovate
  • d77dc8a Add Hare lexer (#882)
  • 2346007 Add an Alloy lexer (#892)
  • 08be6f0 Add an Agda lexer (#891)
  • d9f6ed6 added: rule to objectpascal lexer (#888)
  • c5948a6 Add Vagrantfile to Ruby lexer (#890)
  • 7d4db86 Add Microsoft Dax (#889)
  • 1cda665 fixed: number formats in objectpascal lexer (#887)
  • b5afdee fix(dns): highlight domain names as NameClass (#886)
  • 07a90a9 added: ObjectPascal lexer (#883)

v2.11.1

6 months ago

Changelog

  • 96a12e3 fix: bad path normalisation

v2.11.0

6 months ago

Changelog

  • 09953ff fix: attempt to load lexer files before using Get()

v2.10.1

6 months ago

Changelog

  • fe96ea4 Add test for ucode (#881)
  • 8f938d0 Create lexer for ucode (#879)
  • 038fab5 Add shebang (#864)
  • 48d6be6 Update prql.xml (#878)

v2.10.0

6 months ago

Changelog

  • 810464a Update Java lexer (#873)
  • 77e9146 Add file extensions to go_template lexer (#875)
  • b127e35 Make tty_indexed.go respond to None like tty_truecolour.go (#869)
  • 9ae4dae Add *.Dockerfile to docker lexer (#868)
  • 2fa6f14 Add PRQL to README (#863)
  • 17597b6 Add PRQL language (#862)
  • 7eb0305 lexers/r: Match keywords prior to functions (#860)
  • 827bd93 lexers: add initial version of CUE lexer (#858)
  • 9087c63 docs: note about Get() being slow due to file matching
  • ccd8d68 lexers: move to comparing bytes in tests (#856)
  • def00e9 chore: update issue templates
  • 0b08639 lexers: support for nim GENERALIZED_TRIPLESTR_LIT (#853)
  • 94d11ab Update Bicep grammar with recent additions (#850)
  • c64e1be add justfile filename to Makefile lexer (#852)
  • 2b39461 Fix GDScript3 analyse regexes (#848)

v2.9.1

8 months ago

Changelog

  • c4527e8 fix: C++ comments after #include

v2.9.0

8 months ago

Changelog

  • 40542a6 refactor: migrate a bunch more Go-based lexers to XML
  • 4dd2cbe fix: bump to latest dclark/regexp2
  • a242abf Highlights numbers in java (#703)
  • 6ddeee2 update fg color to match latest primer style (#781)
  • 340fd85 Add more hlsl file extensions (#823)
  • 67983f9 Update clojure.xml to target EDN (#825)
  • 6428fb4 Added updated GDScript lexer. (#842)
  • 4796a27 Set priority for NASM lexer (#839)
  • be65257 Set priority for INI lexer over Inform 6 (#837)
  • b5487f4 Fix Bash Session lexer name (#840)
  • c03a781 Set priority for GAS lexer (#838)
  • 0fe72e1 Add new file extensions to Mathematica lexer (#836)
  • 5b26de0 Add missing *.twig file extension (#833)
  • 9676003 R lexer has priority over Rebol (#835)
  • efd5efa Avoid duplicate lexer if already registered (#834)
  • 954c5ae feat: ensure the analyse score is up to 1.0 (#832)
  • 708662a feat: improve regex analysers in XML (#831)
  • d37de78 feat(styles/onedark): add diff colors (#830)
  • c11725d Add new Go 1.21 builtins to the Go lexer: clear, min, max (#829)
  • 47ce9a2 fix: vim lexer was marking \n as errors
  • a20cd7e feat: support basic regex analysers in XML (#828)
  • 2226663 Fix ISCdhcpd filename (#822)
  • 7d74956 Add Pipfile and poetry.lock as a TOML lexer file extension (#821)
  • 42d6da2 Add .eex as a Elixir lexer file extension (#820)
  • b786c3f Add .tpp as a c++ lexer file extension (#817)
  • de3a9c2 Add C lexer (#815)
  • 49b5f8e Add missing C++ tests (#814)
  • e6de3d1 Add CPP lexer (#813)
  • 68d976f Prevent panic from hax lexer (#812)
  • 2aad740 Update C# lexer (#811)
  • 9864526 deps: update go modules (#810)
  • 95cec3b Update groovy.xml (#807)
  • 555bb53 Add Lexer for Sourcepawn (#804)
  • b8c853d Fix attributes and <, > in Odin Lexer (#803)
  • e1e698d Add Odin lexer (#802)
  • b8ad4d6 chore: unnecessary use of fmt.Sprintf (#799)
  • b9a63eb chore: remove refs to deprecated io/ioutil (#798)
  • 0e7ec95 styles/catppuccin-*: update colors (#797)
  • 971f5c6 Add file support for BIND DNS Zone (#796)

v2.8.0

10 months ago

Changelog

  • e8acfc2 Add lexer for ArangoDB Query Language (AQL) (#794)
  • e422a62 Add tal (uxntal) lexer
  • 4b11965 lexers/d: Update keyword lists
  • be82a0b improve PSL directive and function highlighting
  • bf8d359 FIX: update nord theme to have a base color for NameProperty
  • f720d5a FIX: update nord theme to have a base color for NameOther
  • 3c21942 support http response with no reason phrase
  • 029798b Add AutoIt Lexer
  • 4779f90 Add AutoHotkey lexer
  • e09e498 lexers/go_template: Add missing global functions (#782)
  • dcc587e wgsl: Fix typo for texel format rgba16float (#779)
  • 8588e37 Update iscdhcp xml file (#778)
  • 7c08f45 Update the main README to point to the lexers/README (#777)
  • 0eecb2a Add WebGPU Shading Language lexer (#776)
  • 4f02bc5 support HTTP/2 and HTTP/3 (#774)
  • 357f0cb dhcpd (#772)
  • 2672d3c Add Smali lexer (#765)

v2.7.0

1 year ago

Changelog

  • b9e3758 Upgrade goreleaser.