mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 02:09:05 +00:00
Add CMake syntax highlighting and format detection
This commit is contained in:
@@ -20,11 +20,11 @@ using System.IO;
|
||||
|
||||
namespace QuickLook.Plugin.TextViewer.Detectors;
|
||||
|
||||
public sealed class CMakeListsDetector : IFormatDetector
|
||||
public sealed class CMakeListsDetector : IConfusedFormatDetector
|
||||
{
|
||||
public string Name => "CMakeLists";
|
||||
public string Name => "CMake";
|
||||
|
||||
public string Extension => ".txt";
|
||||
public string Extension => ".cmake";
|
||||
|
||||
public bool Detect(string path, string text)
|
||||
{
|
||||
|
Reference in New Issue
Block a user