Move and Rename: Tex-Files
Some checks failed
Word Count / count-words (push) Failing after 32s

This commit is contained in:
2026-03-19 18:42:29 +01:00
parent cc8fef4cc5
commit 3a12cf7bde
4 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Razor" version="1" kateversion="2.4" section="Markup" extensions="*.cshtml;*.razor" mimetype="text/x-cshtml" author="Antigravity" license="MIT">
<highlighting>
<contexts>
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<!-- Razor specific tags -->
<StringDetect String="@{" attribute="Control Flow" context="CSharpBlock" />
<StringDetect String="@(" attribute="Control Flow" context="CSharpExpr" />
<RegExpr String="@[a-zA-Z_][a-zA-Z0-9_.]*" attribute="Control Flow" context="#stay" />
<!-- Fallback to HTML -->
<IncludeRules context="##HTML" />
</context>
<context name="CSharpBlock" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char="}" attribute="Control Flow" context="#pop" />
<IncludeRules context="##C#" />
</context>
<context name="CSharpExpr" attribute="Normal Text" lineEndContext="#stay">
<DetectChar char=")" attribute="Control Flow" context="#pop" />
<IncludeRules context="##C#" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Control Flow" defStyleNum="dsControlFlow" />
</itemDatas>
</highlighting>
</language>