mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-02-27 01:00:11 +08:00
Add .pyx extension to Python syntax
Include the .pyx (Cython) extension in the Python SyntaxDefinition files for both Dark and Light themes so .pyx files are recognized and highlighted. Updated QuickLook.Plugin.TextViewer/Syntax/Dark/Python.xshd and QuickLook.Plugin.TextViewer/Syntax/Light/Python.xshd.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<SyntaxDefinition name="Python" extensions=".py;.pyw;.vpy" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
|
||||
<SyntaxDefinition name="Python" extensions=".py;.pyw;.pyx;.vpy" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
|
||||
|
||||
<Color name="Comment" foreground="#FF57A64A" />
|
||||
<Color name="String" foreground="#FFD69D85" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<SyntaxDefinition name="Python" extensions=".py;.pyw;.vpy">
|
||||
<SyntaxDefinition name="Python" extensions=".py;.pyw;.pyx;.vpy">
|
||||
|
||||
<Environment>
|
||||
<Default color="Black" bgcolor="#FFFFFF"/>
|
||||
|
||||
Reference in New Issue
Block a user