Skip to content

Commit

Permalink
Add \big and friends macro parsing from tex.cwl
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu committed Sep 11, 2024
1 parent 842bcae commit 03b7961
Show file tree
Hide file tree
Showing 4 changed files with 180 additions and 121 deletions.
24 changes: 0 additions & 24 deletions data/packages/physics2.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,6 @@
"keyPos": 0
}
},
{
"name": "bigg"
},
{
"name": "Bigg"
},
{
"name": "bigg"
},
{
"name": "bigg"
},
{
"name": "bigg"
},
{
"name": "Bigg"
},
{
"name": "Bigg"
},
{
"name": "Bigg"
},
{
"name": "pab",
"arg": {
Expand Down
122 changes: 80 additions & 42 deletions data/packages/tex.json
Original file line number Diff line number Diff line change
Expand Up @@ -1425,22 +1425,22 @@
"name": "Bigg"
},
{
"name": "bigg"
"name": "biggl"
},
{
"name": "Bigg"
"name": "Biggl"
},
{
"name": "bigg"
"name": "biggm"
},
{
"name": "Bigg"
"name": "Biggm"
},
{
"name": "bigg"
"name": "biggr"
},
{
"name": "Bigg"
"name": "Biggr"
},
{
"name": "bigl"
Expand Down Expand Up @@ -2911,92 +2911,130 @@
"doc": "Vertical ellipsis"
},
{
"name": "big",
"name": "big(",
"arg": {
"format": "()",
"snippet": "big(${1:%<..%>\\big})"
"format": "",
"snippet": "big(${1}\\big)"
}
},
{
"name": "big",
"name": "big[",
"arg": {
"format": "[]",
"snippet": "big[${1:..\\big}]"
"format": "",
"snippet": "big[${1}\\big]"
}
},
{
"name": "big",
"name": "big|",
"arg": {
"format": "||",
"snippet": "big|${1:..\\big}|"
"format": "",
"snippet": "big|${1}\\big|"
}
},
{
"name": "Big",
"name": "Big(",
"arg": {
"format": "()",
"snippet": "Big(${1:%<..%>\\Big})"
"format": "",
"snippet": "Big(${1}\\Big)"
}
},
{
"name": "Big",
"name": "Big[",
"arg": {
"format": "[]",
"snippet": "Big[${1:..\\Big}]"
"format": "",
"snippet": "Big[${1}\\Big]"
}
},
{
"name": "Big",
"name": "Big|",
"arg": {
"format": "||",
"snippet": "Big|${1:..\\Big}|"
"format": "",
"snippet": "Big|${1}\\Big|"
}
},
{
"name": "bigl",
"name": "bigl(",
"arg": {
"format": "()",
"snippet": "bigl(${1:%<..%>\\bigr})"
"format": "",
"snippet": "bigl(${1}\\bigr)"
}
},
{
"name": "bigl",
"name": "bigl[",
"arg": {
"format": "[]",
"snippet": "bigl[${1:..\\bigr}]"
"format": "",
"snippet": "bigl[${1}\\bigr]"
}
},
{
"name": "Bigl",
"name": "bigl\\{",
"arg": {
"format": "()",
"snippet": "Bigl(${1:%<..%>\\Bigr})"
"format": "",
"snippet": "bigl\\{${1}\\bigr\\\\}"
}
},
{
"name": "Bigl",
"name": "Bigl(",
"arg": {
"format": "[]",
"snippet": "Bigl[${1:..\\Bigr}]"
"format": "",
"snippet": "Bigl(${1}\\Bigr)"
}
},
{
"name": "bigg"
"name": "Bigl[",
"arg": {
"format": "",
"snippet": "Bigl[${1}\\Bigr]"
}
},
{
"name": "bigg"
"name": "Bigl\\{",
"arg": {
"format": "",
"snippet": "Bigl\\{${1}\\Bigr\\\\}"
}
},
{
"name": "bigg"
"name": "biggl(",
"arg": {
"format": "",
"snippet": "biggl(${1}\\biggr)"
}
},
{
"name": "Bigg"
"name": "biggl[",
"arg": {
"format": "",
"snippet": "biggl[${1}\\biggr]"
}
},
{
"name": "Bigg"
"name": "biggl\\{",
"arg": {
"format": "",
"snippet": "biggl\\{${1}\\biggr\\\\}"
}
},
{
"name": "Bigg"
"name": "Biggl(",
"arg": {
"format": "",
"snippet": "Biggl(${1}\\Biggr)"
}
},
{
"name": "Biggl[",
"arg": {
"format": "",
"snippet": "Biggl[${1}\\Biggr]"
}
},
{
"name": "Biggl\\{",
"arg": {
"format": "",
"snippet": "Biggl\\{${1}\\Biggr\\\\}"
}
},
{
"name": "int_",
Expand Down
Loading

0 comments on commit 03b7961

Please sign in to comment.