Skip to content

Commit

Permalink
Fix missing language configuration in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
howlger committed Apr 30, 2022
1 parent 3a763c5 commit 3596a95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ https://en.wikipedia.org/w/api.php?action=query&format=xml&prop=pageprops&ppprop
</language>
</extension>
<extension id="markdown-basics">
<language name="Markdown" wikidata="Q1193600" issues="completly broken"/>
<language name="Markdown" wikidata="Q1193600" issues="syntax highlighting and uncommenting broken, folding works"/>
</extension>
<extension id="objective-c">
<language name="Objective-C" wikidata="Q188531"/>
Expand All @@ -149,7 +149,7 @@ https://en.wikipedia.org/w/api.php?action=query&format=xml&prop=pageprops&ppprop
</language>
</extension>
<extension id="php">
<language name="PHP" wikidata="Q59" issues="java.io.FileNotFoundException: /php/language-configuration.json"/>
<language name="PHP" wikidata="Q59" issues="syntax highlighting broken"/>
</extension>
<extension id="powershell">
<language name="PowerShell" wikidata="Q840410"/>
Expand All @@ -169,7 +169,7 @@ https://en.wikipedia.org/w/api.php?action=query&format=xml&prop=pageprops&ppprop
<language name="Razor" better-name="ASP.NET Razor" wikidata="Q6840077"/>
</extension>
<extension id="restructuredtext">
<language name="reStructuredText" wikidata="Q287315" issues="syntax highlighting broken"/>
<language name="reStructuredText" wikidata="Q287315" issues="syntax highlighting broken, uncommenting and folding works"/>
</extension>
<extension id="ruby">
<language name="Ruby" wikidata="Q161053" issues="syntax highlighting broken"/>
Expand Down
2 changes: 1 addition & 1 deletion transform_to_extension_build.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<xsl:variable name="language-id" select="e[@name='id']/@string"/>
<xsl:variable name="language-grammars-count"
select="count(/o/o[@name='contributes']/a[@name='grammars']/o/e[@name='language'][@string=$language-id])"/>
<xsl:if test="e[@name='configuration'] and $language-grammars-count = 1">
<xsl:if test="e[@name='configuration'] and $language-grammars-count > 0">
<xsl:variable name="basename">
<xsl:call-template name="basename">
<xsl:with-param name="path" select="e[@name='configuration']/@string"/>
Expand Down

0 comments on commit 3596a95

Please sign in to comment.