Skip to content

Allow configuring Syntastica parser bundle #74

@NotAShelf

Description

@NotAShelf

Current binary size is around 50MB, because of all the TS parsers pulled by Syntastica. This is mildly better if using Syntect, but Syntastica is the objectively better way of theming code blocks in projects build with NDG. It would be great to allow selecting which parser bundle to use (full or most) so building from source offers the ability to optimize further for binary size.

This also introduces a major penalty to compile times, but this is easily mitigated with either

  • Nix binary cache
  • Prebuild releases with Github Actions, which wastes GH's compute instead of my own :)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions