Skip to content

Commit

Permalink
Merge pull request #327 from nathanaelhoun/add-blade-template-languag…
Browse files Browse the repository at this point in the history
…e-support

Add Blade Template language support
  • Loading branch information
boyter committed Mar 29, 2022
2 parents 755c5cd + 4066d6f commit e53bd90
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
1 change: 1 addition & 0 deletions LANGUAGES.md
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
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 e53bd90

Please sign in to comment.