Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added C# specific files support. #36

Merged
merged 3 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: Added C# specific files support.
  • Loading branch information
HavenDV committed Oct 24, 2023
commit 64f61177927d209125e921ba457ed8f5ddaab313
4 changes: 4 additions & 0 deletions QLPlugin/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@
<string>dyn.ah62d4rv4ge81u65e</string> <!-- .xsd -->
<string>dyn.ah62d4rv4ge81u65q</string> <!-- .xsl -->
<string>dyn.ah62d4rv4ge81u65qsu</string> <!-- .xslt -->
<string>dyn.ah62d4rv4ge81g5ds</string> <!-- .sln -->
<string>dyn.ah62d4rv4ge81k2pwq7w1k62</string> <!-- .targets -->
<string>dyn.ah62d4rv4ge81a6xtsb3u</string> <!-- .props -->
<string>dyn.ah62d4rv4ge80g65usm10y</string> <!-- .csproj -->
<string>org.arduino.ino-source</string> <!-- .ino (Arduino) -->
<string>org.arduino.source</string> <!-- .pde (Arduino) -->
<string>org.asm.source</string> <!-- .asm (TASM) -->
Expand Down
4 changes: 4 additions & 0 deletions QLPlugin/Views/Previews/CodePreview.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,17 @@ let fileExtensionLexers = [
"webmanifest": "json",
"xcscheme": "xml",
"xib": "xml",
"csproj": "xml",
"props": "xml",
"targets": "xml",

// Files for which a different, similar syntax is used
"liquid": "twig",
"modulemap": "hcl",
"njk": "twig",
"pbxproj": "txt",
"strings": "c",
"sln": "txt",
]

class CodePreview: Preview {
Expand Down