Skip to content

Commit

Permalink
🤖: update grammars
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Jan 12, 2024
1 parent dbf9272 commit 4deaed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 76 deletions.
74 changes: 0 additions & 74 deletions packages/shiki/languages/beancount.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,80 +289,6 @@
}
]
},
{
"name": "meta.directive.notetotext.beancount",
"comment": "Note as Oneliner Transaction directive",
"begin": "([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s+(note)(?=(.*\\*\\\"\\s))",
"beginCaptures": {
"1": {
"name": "constant.numeric.date.year.beancount"
},
"2": {
"name": "punctuation.separator.beancount"
},
"3": {
"name": "constant.numeric.date.month.beancount"
},
"4": {
"name": "punctuation.separator.beancount"
},
"5": {
"name": "constant.numeric.date.day.beancount"
},
"6": {
"name": "support.function.directive.beancount"
}
},
"end": "(?=(^\\s*$|^\\S))",
"patterns": [
{
"include": "#meta"
},
{
"include": "#account"
},
{
"name": "punctuation.separator.beancount",
"match": "(?<=\\s)\\\""
},
{
"include": "#cost"
},
{
"include": "#amount"
},
{
"begin": "(\\*|\\!)",
"beginCaptures": {
"0": {
"name": "support.function.directive.beancount"
}
},
"end": "(\\*\\\")",
"endCaptures": {
"0": {
"name": "punctuation.separator.beancount"
}
},
"patterns": [
{
"name": "constant.character.escape.beancount",
"match": "\\\\."
},
{
"include": "#tag"
},
{
"name": "string.quoted.double.beancount",
"match": "([^\\\"])"
}
]
},
{
"include": "#illegal"
}
]
},
{
"begin": "([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s(note|document)",
"beginCaptures": {
Expand Down
Loading

0 comments on commit 4deaed3

Please sign in to comment.