You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
552 B
29 lines
552 B
{
|
|
"scopeName": "source.sql.ruby",
|
|
"name": "SQL (Rails)",
|
|
"fileTypes": [
|
|
"erbsql",
|
|
"sql.erb"
|
|
],
|
|
"foldingStartMarker": "\\s*\\(\\s*$",
|
|
"foldingStopMarker": "^\\s*\\)",
|
|
"patterns": [
|
|
{
|
|
"begin": "<%+(?!>)=?",
|
|
"end": "%>",
|
|
"name": "source.ruby.rails.embedded.sql",
|
|
"patterns": [
|
|
{
|
|
"match": "#.*?(?=%>)",
|
|
"name": "comment.line.number-sign.ruby"
|
|
},
|
|
{
|
|
"include": "source.ruby.rails"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"include": "source.sql"
|
|
}
|
|
]
|
|
}
|
|
|