Fall back to Plain Text if a referenced syntax is missing
Add support for hidden_file_extensions key in syntaxes.
Implement Error and Display for all error enums by using thiserror
Replace lazycell with once_cell to fix crash on lazy initialization
Add ScopeRangeIterator
Add CI check for Minimum Supported Rust Version. This is currently Rust 1.53.
Make looking up a syntax by extension use case-insensitive comparison
Make from_dump_file() ~15% faster
Blend alpha value on converting colors to ANSI color sequences
Fix sample code in documentation to avoid double newlines
Fix lots of build warnings and lints
Add Criterion benchmarks for a whole syntect pipeline and for from_dump_file()
Patch of v4.7.0 without the semver violations that broke things
See the release notes for v4.7.0, this release removes a new Cargo feature which constituted a semver violation:
Remove 'plist-load' feature again due to semver violation. #403
Much faster startup through lazy-loading, and much more!
Big release this time thanks to tons of fantastic contributions from @Enselic, this release was basically all him! The headline feature is much faster startup time due to lazy-loading at the syntax level.
Lazy-load syntaxes to significantly improve startup time
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps syntect from 4.6.0 to 5.0.0.
Release notes
Sourced from syntect's releases.
... (truncated)
Changelog
Sourced from syntect's changelog.
Commits
e8c1f31
Release date for 5.0.01184978
Merge pull request #409 from Enselic/prepare-for-5.0.0a47dbdf
Merge pull request #432 from Enselic/dont-panice8535c1
CHANGELOG.md: Update to include PR #432dcd439e
CHANGELOG.md: Update with latest changes on masterc7ee51e
Merge remote-tracking branch 'origin/master' into prepare-for-5.0.046882e1
Replace direct panics with Errors6b211f9
Merge pull request #419 from sourcegraph/vg/upstream/hidden-file-extensionse54eef3
Add support for hidden_file_extensions key.ce1ba5b
Merge pull request #426 from Enselic/parse-and-highlight-line-with-resultDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)