Skip to content

Commit 3ea82fa

Browse files
committed
Add a few additional default file extensions for syntax highlighter.
1 parent 255af10 commit 3ea82fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebpagePanel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace QuickLook.Plugin.WebViewPlus
3535
public class WebpagePanel : UserControl
3636
{
3737
public static readonly string DefaultExtensions =
38-
"html,htm,mht,mhtml,pdf,csv,xlsx,svg,md,markdown,gltf,glb,c++,h++,bat,c,cmake,cpp,cs,css,go,h,hpp,java,js,json,jsx,lua,perl,pl,ps1,psm1,py,rb,sass,scss,sh,sql,tex,ts,tsx,txt,webp,yaml,yml";
38+
"html,htm,mht,mhtml,pdf,csv,xlsx,svg,md,markdown,gltf,glb,c++,h++,bat,c,cmake,cpp,cs,css,d,go,h,hpp,java,js,json,jsx,kt,lua,m,mm,makefile,pas,perl,php,pl,ps1,psm1,py,r,rb,rs,sass,scala,scss,sh,sql,swift,tex,ts,tsx,txt,webp,xml,yaml,yml";
3939
public string[] Extensions = { };
4040

4141
// These should match the ones in the web app openFile.ts:BINARY_EXTENSIONS

0 commit comments

Comments
 (0)