Skip to content

Commit

Permalink
refactor: format pikchr.tmLanguage.json using tight formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
senyai committed May 12, 2024
1 parent 69ac201 commit 084f423
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 455 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"Technote",
"unstage",
"userid"
]
],
"tmlanguage-syntax-highlighter.formattingStyle": "tight"
}
24 changes: 5 additions & 19 deletions pikchr/codeblock.pikchr.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,15 @@
"begin": "(^|\\G)(\\s*)(.*)",
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
"contentName": "meta.embedded.block.pikchr",
"patterns": [
{
"include": "source.pikchr"
}
]
"patterns": [{"include": "source.pikchr"}]
}
],
"beginCaptures": {
"3": {
"name": "punctuation.definition.markdown"
},
"4": {
"name": "fenced_code.block.language.markdown"
},
"5": {
"name": "fenced_code.block.language.attributes.markdown"
}
"3": {"name": "punctuation.definition.markdown"},
"4": {"name": "fenced_code.block.language.markdown"},
"5": {"name": "fenced_code.block.language.attributes.markdown"}
},
"endCaptures": {
"1": {
"name": "punctuation.definition.markdown"
}
}
"endCaptures": {"1": {"name": "punctuation.definition.markdown"}}
}
],
"scopeName": "markdown.pikchr.codeblock"
Expand Down
Loading

0 comments on commit 084f423

Please sign in to comment.