diff --git a/after/queries/blade/highlights.scm b/after/queries/blade/highlights.scm new file mode 100644 index 0000000..9edc25f --- /dev/null +++ b/after/queries/blade/highlights.scm @@ -0,0 +1,9 @@ +(directive) @function +(directive_start) @function +(directive_end) @function +(comment) @comment +((parameter) @include (#set! "priority" 110)) +((php_only) @include (#set! "priority" 110)) +((bracket_start) @function (#set! "priority" 120)) +((bracket_end) @function (#set! "priority" 120)) +(keyword) @function diff --git a/after/queries/blade/injections.scm b/after/queries/blade/injections.scm new file mode 100644 index 0000000..8f7af78 --- /dev/null +++ b/after/queries/blade/injections.scm @@ -0,0 +1,4 @@ +((text) @injection.content + (#not-has-ancestor? @injection.content "envoy") + (#set! injection.combined) + (#set! injection.language php))