highlight: Fix logic for handling empty injections with no highlights
This commit is contained in:
parent
8dd68c360a
commit
3f109a3cb5
6 changed files with 84 additions and 33 deletions
|
|
@ -8,7 +8,7 @@ fn test_highlight_test_with_basic_test() {
|
|||
let language = get_language("javascript");
|
||||
let config = get_highlight_config(
|
||||
"javascript",
|
||||
"injections.scm",
|
||||
Some("injections.scm"),
|
||||
&[
|
||||
"function".to_string(),
|
||||
"variable.parameter".to_string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue