From 331cab9c4f8eaa3c2a72c5461646a686e649b989 Mon Sep 17 00:00:00 2001 From: postsolar <120750161+postsolar@users.noreply.github.com> Date: Fri, 23 Feb 2024 07:03:14 +0200 Subject: [PATCH] Enable PureScript The conflict with Haskell has been resolved in https://github.com/postsolar/tree-sitter-purescript/pull/17/commits/e40d749975c43ef9764c567044b98c6329ab142b --- src/file_types.zig | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/file_types.zig b/src/file_types.zig index f75e21f..7f7e023 100644 --- a/src/file_types.zig +++ b/src/file_types.zig @@ -211,12 +211,13 @@ pub const php = .{ .injections = @embedFile("tree-sitter-php/queries/injections.scm"), }; -// conflicts with haskell -// pub const purescript = .{ -// .extensions = &[_][]const u8{"purs"}, -// .comment = "--", -// .injections = @embedFile("tree-sitter-purescript/queries/injections.scm"), -// }; +pub const purescript = .{ + .color = 0x14161a, + .icon = "", + .extensions = &[_][]const u8{"purs"}, + .comment = "--", + .injections = @embedFile("tree-sitter-purescript/queries/injections.scm"), +}; pub const python = .{ .color = 0xffd845,