cl-tree-sitter icon indicating copy to clipboard operation
cl-tree-sitter copied to clipboard

tree-sitter shared libraries can't have lib prefix

Open CarsonEllsworth33 opened this issue 1 year ago • 1 comments

When I clone and build grammars I have to rename the shared libraries from libtree-sitter-<lang>.so to tree-sitter-<lang>.so otherwise cffi can not find the functions to execute.

image

image image

CarsonEllsworth33 avatar Dec 06 '24 03:12 CarsonEllsworth33

you can get around this by using the keyword fn-name obv, but it would be nice for the function to look for the prefix of lib and remove it automatically so it doesn't need to be done every time.

CarsonEllsworth33 avatar Dec 06 '24 04:12 CarsonEllsworth33