Skip to content

Commit

Permalink
associate sarif and jsonl with JSON, ron with Rust, `Containerf…
Browse files Browse the repository at this point in the history
…ile` with Dockerfile
  • Loading branch information
rhysd committed Jan 5, 2024
1 parent 8468ce1 commit 8b62669
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/syntect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,8 @@ where
| "nspawn" | "path" | "service" | "scope" | "slice" | "socket" | "swap" | "target"
| "timer",
) => Some("INI"),
Some("sarif" | "jsonl") => Some("JSON"),
Some("ron") => Some("Rust"),
_ => None,
};

Expand All @@ -1097,6 +1099,7 @@ where
Some(".clang-format" | "fish_history") => Some("YAML"),
Some("nginx.conf" | "mime.types") => Some("nginx"),
Some("httpd.conf") => Some("Apache Conf"),
Some("Containerfile") => Some("Dockerfile"),
_ => None,
});

Expand Down

0 comments on commit 8b62669

Please sign in to comment.