Skip to content

Commit

Permalink
more caveat improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Feb 8, 2024
1 parent b894c02 commit a4e4645
Show file tree
Hide file tree
Showing 4 changed files with 302 additions and 287 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ module.exports = grammar({
optional(','),
)),

caveat_expr: _ => /[^{}](.*)/,
caveat_expr: _ => /([^}]+)*/,
},
});
2 changes: 1 addition & 1 deletion src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
},
"caveat_expr": {
"type": "PATTERN",
"value": "[^{}](.*)"
"value": "([^}]+)*"
}
},
"extras": [
Expand Down
Loading

0 comments on commit a4e4645

Please sign in to comment.