massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / index.js
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/index.js b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/index.js
new file mode 100755 (executable)
index 0000000..28efa7e
--- /dev/null
@@ -0,0 +1,8 @@
+#!/usr/bin/env node
+/* eslint-disable @typescript-eslint/ban-ts-comment */
+// @ts-nocheck
+
+// Stash the base directory into a global variable.
+global.__rootDirectory = __dirname + '/dist/';
+
+require('./dist/pyright');