🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2025-01-06 23:50:24.0 +07:00:00
committer Jordan Doyle <jordan@doyle.la> 2025-01-07 0:03:42.0 +07:00:00
commit
8869c6a908a438de637789230e71aba1e855ce02 [patch]
tree
6a58f5a16cd0eb57e574e2ceae2b404c62e34197
parent
0e73c1a3d603c68fc59cb7adfecc08a95695cd72
download
8869c6a908a438de637789230e71aba1e855ce02.tar.gz

Disable parsers which cause conflicts when statically linking highlighters on Linux



Diff

 tree-sitter-grammar-repository/build.rs | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tree-sitter-grammar-repository/build.rs b/tree-sitter-grammar-repository/build.rs
index 1bca22f..19a2d4f 100644
--- a/tree-sitter-grammar-repository/build.rs
+++ a/tree-sitter-grammar-repository/build.rs
@@ -29,6 +29,16 @@
    "wren",
    // doesn't compile on macos
    "gemini",
    // all of these have some sort of conflict with higher value highlighters
    // when statically linking due to variations of:
    // https://github.com/ikatyang/tree-sitter-vue/issues/27
    "vue",
    "purescript",
    "rst",
    "comment",
    "v",
    "unison",
    "llvm",
];

fn main() -> anyhow::Result<()> {