Skip to content

Commit 85cc999

Browse files
committed
fix: syntax highlighting in 2024.1 EAP (fixes #691)
1 parent 4baf2b7 commit 85cc999

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/main/resources/META-INF/plugin.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,9 @@ For really big files and slow grammars, there is an appreciable delay when displ
7373

7474
<change-notes><![CDATA[
7575
<ul>
76-
<li>Fixed NullPointerException on startup (<a href="https://github.com/antlr/intellij-plugin-v4/issues/681">#681</a>)</li>
77-
<li>Fixed read access error when using the Preview window (<a href="https://github.com/antlr/intellij-plugin-v4/issues/677">#677</a>)</li>
78-
<li>Fixed broken SVG export (<a href="https://github.com/antlr/intellij-plugin-v4/issues/669">#669</a>)</li>
76+
<li>Fixed syntax highlighting in 2024.1 EAP (<a href="https://github.com/antlr/intellij-plugin-v4/issues/691">#691</a>)</li>
7977
</ul>
80-
See the complete list of <a href="https://github.com/antlr/intellij-plugin-v4/issues?q=milestone%3A1.23+is%3Aclosed">fixed issues</a>.
78+
See the complete list of <a href="https://github.com/antlr/intellij-plugin-v4/issues?q=milestone%3A1.23.1fix+is%3Aclosed">fixed issues</a>.
8179
]]>
8280
</change-notes>
8381

@@ -144,7 +142,7 @@ For really big files and slow grammars, there is an appreciable delay when displ
144142

145143
<extensions defaultExtensionNs="com.intellij">
146144
<fileTypeFactory implementation="org.antlr.intellij.plugin.ANTLRv4FileTypeFactory"/>
147-
<lang.syntaxHighlighterFactory key="ANTLRv4" implementationClass="org.antlr.intellij.plugin.ANTLRv4SyntaxHighlighterFactory"/>
145+
<lang.syntaxHighlighterFactory language="ANTLRv4" implementationClass="org.antlr.intellij.plugin.ANTLRv4SyntaxHighlighterFactory"/>
148146
<lang.commenter language="ANTLRv4" implementationClass="org.antlr.intellij.plugin.ANTLRv4Commenter" />
149147
<indexPatternBuilder implementation="org.antlr.intellij.plugin.psi.ANTLRv4IndexPatternBuilder"/>
150148
<lang.braceMatcher language="ANTLRv4" implementationClass="org.antlr.intellij.plugin.editor.ANTLRv4BraceMatcher"/>
@@ -163,8 +161,8 @@ For really big files and slow grammars, there is an appreciable delay when displ
163161
implementationClass="org.antlr.intellij.plugin.ANTLRv4FindUsagesProvider"/>
164162

165163
<defaultLiveTemplates file="/liveTemplates/lexer/user.xml"/>
166-
<liveTemplateContext implementation="org.antlr.intellij.plugin.templates.ANTLRGenericContext"/>
167-
<liveTemplateContext implementation="org.antlr.intellij.plugin.templates.OutsideRuleContext"/>
164+
<liveTemplateContext contextId="OTHER" implementation="org.antlr.intellij.plugin.templates.ANTLRGenericContext"/>
165+
<liveTemplateContext contextId="OTHER" implementation="org.antlr.intellij.plugin.templates.OutsideRuleContext"/>
168166
<projectConfigurable groupId="language"
169167
id="org.antlr.intellij.plugin.configdialogs.ANTLRv4ProjectSettings"
170168
displayName="ANTLR v4 default project settings"

0 commit comments

Comments
 (0)