Skip to content

Commit 76feb7e

Browse files
committed
Try custom nvim build
1 parent 5553b00 commit 76feb7e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

nvim-linux64.tar.gz

17.4 MB
Binary file not shown.

utils/testenv_linux.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55

66
class Setup:
77
def __init__(self, url: str):
8-
urllib.request.urlretrieve(f"{url}/nvim-linux-x86_64.appimage", "nvim.appimage")
9-
os.chmod("nvim.appimage", 0o755)
8+
fname = 'nvim-linux64'
9+
subprocess.run(f'tar -xvf {fname}.tar.gz', shell=True, check=True)
10+
#urllib.request.urlretrieve(f"{url}/nvim-linux-x86_64.appimage", "nvim.appimage")
11+
#os.chmod("nvim.appimage", 0o755)
1012
bindir = os.path.join(os.getenv('HOME'), 'bin')
1113
os.makedirs(bindir, exist_ok=True)
1214
try:
13-
os.symlink(os.path.realpath("nvim.appimage"),
15+
os.symlink(os.path.realpath(f"{fname}/bin/nvim"),
1416
os.path.join(bindir, "nvim"))
1517
except FileExistsError:
1618
...
@@ -24,7 +26,7 @@ def __init__(self, url: str):
2426
subprocess.run(
2527
r'''
2628
sudo apt-get update
27-
sudo apt-get install libfuse2 gdb lldb python3-lldb-18 cmake file --no-install-recommends
29+
sudo apt-get install libvterm0 libfuse2 gdb lldb python3-lldb-18 cmake file --no-install-recommends
2830
sudo apt-get install -y tzdata locales
2931
sudo locale-gen en_US.UTF-8
3032
sudo localectl set-locale LANG="en_US.UTF-8"

0 commit comments

Comments
 (0)