Skip to content

Commit 78194a5

Browse files
authored
feat: allow using language id lean in markdown code blocks (#622)
This PR ensures that doc comments can use `lean` in addition to `lean4` for the language ID in markdown code blocks and also have them be highlighted in hovers.
1 parent b8fc222 commit 78194a5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

vscode-lean4/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,10 @@
666666
".lean"
667667
]
668668
},
669+
{
670+
"id": "lean",
671+
"configuration": "./language-configuration.json"
672+
},
669673
{
670674
"id": "lean4markdown",
671675
"aliases": [],
@@ -695,6 +699,11 @@
695699
"embeddedLanguages": {
696700
"meta.embedded.block.lean4": "lean4"
697701
}
702+
},
703+
{
704+
"language": "lean",
705+
"scopeName": "source.lean4",
706+
"path": "./syntaxes/lean4.json"
698707
}
699708
],
700709
"keybindings": [

0 commit comments

Comments
 (0)