feat: add Nix syntax highlighting (#3110)

* feat: add Nix syntax highlighting

* fix: update Nix dependency hash

* fix: update Nix dependency hash

---------

Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com>
This commit is contained in:
James Strain
2026-08-17 13:17:53 +02:00
committed by GitHub
co-authored by Mohamed Boudra
parent 0eab0b7828
commit c8b2c8351f
6 changed files with 36 additions and 2 deletions
@@ -21,6 +21,7 @@ describe("isLanguageSupported", () => {
expect(isLanguageSupported("test.swift")).toBe(true);
expect(isLanguageSupported("test.dart")).toBe(true);
expect(isLanguageSupported("test.cs")).toBe(true);
expect(isLanguageSupported("test.nix")).toBe(true);
expect(isLanguageSupported("test.ex")).toBe(true);
});
@@ -60,6 +61,7 @@ describe("getSupportedExtensions", () => {
expect(extensions).toContain("swift");
expect(extensions).toContain("dart");
expect(extensions).toContain("cs");
expect(extensions).toContain("nix");
expect(extensions).toContain("json");
});
});