Skip to content

Commit

Permalink
Add Blade Template language support
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelhoun committed Mar 24, 2022
1 parent 755c5cd commit 4066d6f
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
1 change: 1 addition & 0 deletions LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Batch (bat,btm,cmd)
Bazel (bzl,build.bazel,build,workspace)
Bitbake (bb,bbappend,bbclass)
Bitbucket Pipeline (bitbucket-pipelines.yml)
Blade Template (blade)
Boo (boo)
Bosque (bsq)
Brainfuck (bf)
Expand Down
48 changes: 48 additions & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,54 @@
"multi_line": [],
"quotes": []
},
"Blade template": {
"complexitychecks": [
"@for ",
"@for(",
"@foreach ",
"@foreach(",
"@forelse ",
"@forelse(",
"@each ",
"@each (",
"@while ",
"@while(",
"@if ",
"@if(",
"@unless ",
"@unless(",
"@isset ",
"@isset(",
"@empty ",
"@empty(",
"@else ",
"@elseif ",
"@elseif(",
"@while ",
"@while(",
"@switch ",
"@switch (",
"|| ",
"&& ",
"!= ",
"== "
],
"extensions": [
"blade.php"
],
"line_comment": [],
"multi_line": [
[
"{{--",
"--}}"
],
[
"<!--",
"-->"
]
],
"quotes": []
},
"Boo": {
"complexitychecks": [
"for ",
Expand Down
4 changes: 2 additions & 2 deletions processor/constants.go

Large diffs are not rendered by default.

0 comments on commit 4066d6f

Please sign in to comment.