Skip to content

Commit

Permalink
update(syntaxes): add import and lpl specific keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterLaplace committed Apr 8, 2024
1 parent 004222a commit 7f8536c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions syntaxes/laplace.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
{
"include": "#keywords"
},
{
"include": "#import"
},
{
"include": "#lplspecific"
},
{
"include": "#strings"
},
Expand All @@ -28,6 +34,22 @@
}
]
},
"import": {
"patterns": [
{
"name": "keyword.control.laplace",
"match": "\\b(import)\\b"
}
]
},
"lplspecific": {
"patterns": [
{
"name": "keyword.control.laplace",
"match": "\\b<(header|implementation)[\\s]+([\\w]+)>[\\s]*:\\b"
}
]
},
"strings": {
"patterns": [
{
Expand Down

0 comments on commit 7f8536c

Please sign in to comment.