diff options
| author | coasteen <coasteen@proton.me> | 2026-07-09 10:42:28 +0330 |
|---|---|---|
| committer | coasteen <coasteen@proton.me> | 2026-07-09 10:42:28 +0330 |
| commit | 8cbadb61604667b407b53ee1258433994fa4765a (patch) | |
| tree | 97765fb29418fd6278fcb4cbb9760893afaf7a58 /local/bin/pyright-langserver | |
Diffstat (limited to 'local/bin/pyright-langserver')
| -rwxr-xr-x | local/bin/pyright-langserver | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/local/bin/pyright-langserver b/local/bin/pyright-langserver new file mode 100755 index 0000000..e206592 --- /dev/null +++ b/local/bin/pyright-langserver @@ -0,0 +1,7 @@ +#!/usr/bin/python3.13 +import sys +from pyright.langserver import entrypoint +if __name__ == '__main__': + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] + sys.exit(entrypoint()) |
