ligo/tools/lsp/squirrel/grammar/camligo/index.js

14 lines
308 B
JavaScript
Raw Normal View History

try {
module.exports = require("./build/Release/tree_sitter_CAMLigo_binding");
} catch (error) {
try {
module.exports = require("./build/Debug/tree_sitter_CAMLigo_binding");
} catch (_) {
throw error
}
}
try {
module.exports.nodeTypeInfo = require("./src/node-types.json");
} catch (_) {}