Variable: treesit-load-name-override-list
treesit-load-name-override-list is a variable defined in treesit.c.
Value
nil
Documentation
An override list for unconventional tree-sitter libraries.
By default, Emacs assumes the dynamic library for LANG is libtree-sitter-LANG.EXT, where EXT is the OS specific extension for dynamic libraries. Emacs also assumes that the name of the C function the library provides is tree_sitter_LANG. If that is not the case, you can add an entry
(LANG LIBRARY-BASE-NAME FUNCTION-NAME)
to this list, where LIBRARY-BASE-NAME is the filename of the dynamic library without the file-name extension, and FUNCTION-NAME is the function provided by the library.
Source Code
// Defined in /usr/src/emacs/src/treesit.c
DEFVAR_LISP ("treesit-load-name-override-list",
Vtreesit_load_name_override_list,
doc:
/* An override list for unconventional tree-sitter libraries.
By default, Emacs assumes the dynamic library for LANG is
libtree-sitter-LANG.EXT, where EXT is the OS specific extension for
dynamic libraries. Emacs also assumes that the name of the C function
the library provides is tree_sitter_LANG. If that is not the case,
you can add an entry
(LANG LIBRARY-BASE-NAME FUNCTION-NAME)
to this list, where LIBRARY-BASE-NAME is the filename of the dynamic
library without the file-name extension, and FUNCTION-NAME is the
function provided by the library. */);