Skip to content

Commit d2d555c

Browse files
deps: Update syntect to 5.3.0
1 parent 05e03a5 commit d2d555c

File tree

6 files changed

+14
-16
lines changed

6 files changed

+14
-16
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ For reference here are the sizes associated with their different functions
8686
| ---: | ---: | ---: |
8787
| [`acknowledgement::listing()`](https://docs.rs/two-face/latest/two_face/acknowledgement/fn.listing.html) | 11 | - |
8888
| [`syntax::extra_newlines()`](https://docs.rs/two-face/latest/two_face/syntax/fn.extra_newlines.html) (onig) | 961 | 360 |
89-
| ^^ (fancy) | 905 | ^^ |
89+
| ^^ (fancy) | 937 | ^^ |
9090
| [`syntax::extra_no_newlines()`](https://docs.rs/two-face/latest/two_face/syntax/fn.extra_no_newlines.html) (onig) | 959 | 359 |
91-
| ^^ (fancy) | 904 | ^^ |
91+
| ^^ (fancy) | 935 | ^^ |
9292
| [`theme::extra()`](https://docs.rs/two-face/latest/two_face/theme/index.html) | 62 | 5 |
9393

9494
In short the syntax definitions are the real chonky part, and if you're
@@ -115,14 +115,14 @@ The full listing of all syntaxes included in [`two_face::syntax`](https://docs.r
115115
| I | Idris, INI |
116116
| J | Java†, Javadoc†, Java Server Page (JSP)†, JavaScript†, JavaScript (Babel)\*, Jinja2, JQ, JSON†, Julia |
117117
| K | Kotlin |
118-
| L | LaTeX†, LaTeX Log†, Lean, LESS, Lisp†, Literate Haskell†, LiveScript\*, LLVM, Lua† |
118+
| L | LaTeX†, LaTeX Log†, Lean, LESS, Lisp†, Literate Haskell†, LiveScript, LLVM, Lua† |
119119
| M | Makefile†, Manpage, Markdown†, MATLAB†, Mediawiki, MutliMarkdown† |
120120
| N | NAnt Build File†, Nginx, Nim, Ninja, Nix, NSIS |
121121
| O | Objective-C†, Objective-C++†, OCaml†, OCamllex†, OCamlyacc†, Odin, Org Mode |
122122
| P | Pascal†, Perl†, PHP†, PowerShell\*, Protobuf, Puppet, PureScript, Python† |
123123
| Q | QML |
124124
| R | R†, Racket, Rd†, Rego, Regular Expression†, Requirements.txt, reStructuredText†, Robot Framework, Ruby†, Ruby Haml†, Ruby on Rails†, Ruby Slim, Rust† |
125-
| S | Sass\*, Scala†, SCSS, Salt State SLS\*, SML, Solidity, SQL†, Strace, Stylus, Svelte, Swift, SystemVerilog |
125+
| S | Sass, Scala†, SCSS, Salt State SLS\*, SML, Solidity, SQL†, Strace, Stylus, Svelte, Swift, SystemVerilog |
126126
| T | Tcl†, Terraform, TeX†, Textile†, Todo.txt, TOML, TypeScript, TypescriptReact, Typst |
127127
| V | Varlink, Verilog, VHDL, VimL, Vue, Vyper |
128128
| W | WGSL |
31.2 KB
Binary file not shown.
31.1 KB
Binary file not shown.

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
//! | ---: | ---: | ---: |
8080
//! | [`acknowledgement::listing()`] | 11 | - |
8181
//! | [`syntax::extra_newlines()`] (onig) | 961 | 360 |
82-
//! | ^^ (fancy) | 905 | ^^ |
82+
//! | ^^ (fancy) | 937 | ^^ |
8383
//! | [`syntax::extra_no_newlines()`] (onig) | 959 | 359 |
84-
//! | ^^ (fancy) | 904 | ^^ |
84+
//! | ^^ (fancy) | 935 | ^^ |
8585
//! | [`theme::extra()`] | 62 | 5 |
8686
//!
8787
//! In short the syntax definitions are the real chonky part, and if you're

tests/assets/syntect-meta.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# !! generated content: Update by running `$ cargo xtask test-meta` !!
22

3-
version = "5.2.0"
3+
version = "5.3.0"
44

55
[assets.syn_newlines]
66
prefix = [75, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 80, 108, 97, 105]

tests/docs_watchdog/readme.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ fn embedded_asset_sizes() {
4141
| ---: | ---: | ---: |
4242
| [`acknowledgement::listing()`] | 11 | - |
4343
| [`syntax::extra_newlines()`] (onig) | 961 | 360 |
44-
| ^^ (fancy) | 905 | ^^ |
44+
| ^^ (fancy) | 937 | ^^ |
4545
| [`syntax::extra_no_newlines()`] (onig) | 959 | 359 |
46-
| ^^ (fancy) | 904 | ^^ |
46+
| ^^ (fancy) | 935 | ^^ |
4747
| [`theme::extra()`] | 62 | 5 |
4848
"
4949
);
@@ -77,7 +77,7 @@ const EXPECTED: &[&str] = &[
7777
// K
7878
"Kotlin",
7979
// L
80-
"LaTeX", "LaTeX Log", "Less", "Lisp", "Literate Haskell", "LLVM", "Lua",
80+
"LaTeX", "LaTeX Log", "Less", "Lisp", "Literate Haskell", "LiveScript", "LLVM", "Lua",
8181
// M
8282
"Makefile", "Manpage", "Markdown", "MATLAB", "MediaWiki", "MultiMarkdown",
8383
// N
@@ -93,7 +93,7 @@ const EXPECTED: &[&str] = &[
9393
"reStructuredText", "Robot Framework", "Ruby", "Ruby Haml", "Ruby Slim", "Ruby on Rails",
9494
"Rust",
9595
// S
96-
"Scala", "SCSS", "Solidity", "SML", "SQL", "Strace", "Stylus", "Svelte", "Swift",
96+
"Sass", "Scala", "SCSS", "Solidity", "SML", "SQL", "Strace", "Stylus", "Svelte", "Swift",
9797
"SystemVerilog",
9898
// T
9999
"Tcl", "Terraform", "TeX", "Textile", "Todo.txt", "TOML", "TypeScript", "TypeScriptReact",
@@ -132,7 +132,7 @@ const EXPECTED: &[&str] = &[
132132
// Misc
133133
"Java Properties", "JavaScript (Rails)", "jsonnet", "Vue Component", "camlp4", "Plain Text",
134134
"R Console", "SQL (Rails)", "Protocol Buffer (TEXT)", "gnuplot", "HTTP Request and Response",
135-
"log", "syslog", "Highlight non-printables", "Dockerfile (with bash)", "Hosts File",
135+
"log", "syslog", "Highlight non-printables", "Dockerfile (with bash)", "Command Help",
136136
];
137137

138138
/// Some syntax definitions use regex features that aren't supported by `fancy-regex`
@@ -142,17 +142,15 @@ const ONIG_ONLY: &[&str] = &[
142142
"ARM Assembly",
143143
// J
144144
"JavaScript (Babel)",
145-
// L
146-
"LiveScript",
147145
// P
148146
"PowerShell",
149147
// S
150-
"Salt State (SLS)", "Sass",
148+
"Salt State (SLS)",
151149

152150
// -- Not worth displaying in docs --
153151

154152
// Misc
155-
"Command Help", "VimHelp",
153+
"VimHelp", "Hosts File",
156154
];
157155

158156
#[test]

0 commit comments

Comments
 (0)