Commit Graph

18 Commits (37397ecc6dfc9e9c6f45e53823877fabd6a132ef)

Author SHA1 Message Date
Pascal Kuthe 37397ecc6d
tmp 4 months ago
Pascal Kuthe c4b7b08809
move syntax highlighting to separate crate 4 months ago
Michael Davis eeb3f8e963 migrate helix-syntax crate into helix-core and helix-term
helix-syntax mostly existed for the sake of the build task which
checks and compiles the submodules. Since we won't be relying on
that process anymore, it doesn't end up making much sense to have
a very thin crate just for some functions that we could port to
helix-core.

The remaining build-related code is moved to helix-term which will
be able to provide grammar builds through the --build-grammars CLI
flag.
3 years ago
Ivan Tham bda4f5c1cd Simplify replace dashes with underscore 3 years ago
Blaž Hrastnik dd2903ff10 Dynamically load grammar libraries at runtime 3 years ago
Ivan Tham a364d6c383 Add latex 3 years ago
Timothy DeHerrera 38073fd64c Add Nix syntax 4 years ago
Blaž Hrastnik 59f94d13b8 Disable haskell grammar until build issues are resolved 4 years ago
Corey Powell 01dd7b570a Restored haskell syntax
It seems to work
4 years ago
Corey Powell ca042a4bde Added elixir syntax
Using custom fork for now to get around generating the source files
4 years ago
Blaž Hrastnik 3bab640491 Add c++, js, css, html language definitions. 4 years ago
Blaž Hrastnik e3c4edae32 Add the machinery to load syntax config from TOML.
It's embedded into the binary at build time for now, but it's progress.
4 years ago
Blaž Hrastnik a16c6e2585 clippy lints 4 years ago
Blaž Hrastnik 15dd7ca6d8 syntax: Stop compiling haskell, seems unmaintained and slowest to compile 4 years ago
Blaž Hrastnik e39bd211d1 argh -> clap to speed up compilation (no syn/proc_macro) 4 years ago
Blaž Hrastnik 3020077da8 Extend selection commands. 4 years ago
Blaž Hrastnik eb639eb2e4 More robust syntax detection/grammar loading. 4 years ago
Blaž Hrastnik 7eac12a4bb Add helix-syntax as a wrapper around tree-sitter parsers. 4 years ago