mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
parent
c3c57ae3a0
commit
e30906162e
|
@ -7,12 +7,30 @@
|
|||
"name": "comment"
|
||||
},
|
||||
{
|
||||
"match": "^\\S.*:$",
|
||||
"name": "string path.searchResult"
|
||||
"match": "^(?!\\s)(.*?)([^\\\\\\/\\n]*)(:)$",
|
||||
"name": "string path.searchResult",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "dirname.path.searchResult"
|
||||
},
|
||||
"2": {
|
||||
"name": "basename.path.searchResult"
|
||||
},
|
||||
"3": {
|
||||
"name": "endingColon.path.searchResult"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": "^ \\d+",
|
||||
"name": "constant.numeric lineNumber.searchResult"
|
||||
"match": "^ (\\d+)(:| )",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "constant.numeric lineNumber.searchResult resultPrefix.searchResult"
|
||||
},
|
||||
"2:": {
|
||||
"name": "resultPrefixSeparator.searchResult resultPrefix.searchResult"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue