Add CMake syntax highlighting and format detection

This commit is contained in:
ema
2025-07-09 04:16:19 +08:00
parent 631fd91219
commit 67dc0ce10d
6 changed files with 243 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ public sealed class HostsDetector : IFormatDetector
{
public string Name => "Hosts";
public string Extension => ".hosts";
public string Extension => null;
public bool Detect(string path, string text)
{